aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp/c_allc.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2001-07-21 10:24:07 +0000
committerBen Laurie <ben@openssl.org>2001-07-21 10:24:07 +0000
commitc518ade1fd9a791625646bc9e77f5b9b2d378b78 (patch)
treece8d9fd8c48c765c7ed821ce8515c7f7f40449dd /crypto/evp/c_allc.c
parentacdf4afb9147a80d894383fe86ec6de1b6dbd4d5 (diff)
downloadopenssl-c518ade1fd9a791625646bc9e77f5b9b2d378b78.tar.gz
Clean up EVP macros, rename DES EDE3 modes correctly, temporary support for
OpenBSD /dev/crypto (this will be revamped later when the appropriate machinery is available).
Diffstat (limited to 'crypto/evp/c_allc.c')
-rw-r--r--crypto/evp/c_allc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/evp/c_allc.c b/crypto/evp/c_allc.c
index 0fe5457425..def53b6785 100644
--- a/crypto/evp/c_allc.c
+++ b/crypto/evp/c_allc.c
@@ -82,7 +82,11 @@ void OpenSSL_add_all_ciphers(void)
EVP_add_cipher_alias(SN_des_cbc,"DES");
EVP_add_cipher_alias(SN_des_cbc,"des");
EVP_add_cipher(EVP_des_ede_cbc());
+# ifdef OPENSSL_OPENBSD_DEV_CRYPTO
+ EVP_add_cipher(EVP_dev_crypto_des_ede3_cbc());
+# else
EVP_add_cipher(EVP_des_ede3_cbc());
+# endif
EVP_add_cipher_alias(SN_des_ede3_cbc,"DES3");
EVP_add_cipher_alias(SN_des_ede3_cbc,"des3");