diff options
author | djm <> | 2012-10-13 21:23:50 +0000 |
---|---|---|
committer | djm <> | 2012-10-13 21:23:50 +0000 |
commit | 228cae30b117c2493f69ad3c195341cd6ec8d430 (patch) | |
tree | 29ff00b10d52c0978077c4fd83c33b065bade73e /src/lib/libssl/ssl_algs.c | |
parent | 731838c66b52c0ae5888333005b74115a620aa96 (diff) | |
download | openbsd-228cae30b117c2493f69ad3c195341cd6ec8d430.tar.gz openbsd-228cae30b117c2493f69ad3c195341cd6ec8d430.tar.bz2 openbsd-228cae30b117c2493f69ad3c195341cd6ec8d430.zip |
import OpenSSL-1.0.1c
Diffstat (limited to 'src/lib/libssl/ssl_algs.c')
-rw-r--r-- | src/lib/libssl/ssl_algs.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/libssl/ssl_algs.c b/src/lib/libssl/ssl_algs.c index 0967b2dfe4..d443143c59 100644 --- a/src/lib/libssl/ssl_algs.c +++ b/src/lib/libssl/ssl_algs.c | |||
@@ -73,6 +73,9 @@ int SSL_library_init(void) | |||
73 | #endif | 73 | #endif |
74 | #ifndef OPENSSL_NO_RC4 | 74 | #ifndef OPENSSL_NO_RC4 |
75 | EVP_add_cipher(EVP_rc4()); | 75 | EVP_add_cipher(EVP_rc4()); |
76 | #if !defined(OPENSSL_NO_MD5) && (defined(__x86_64) || defined(__x86_64__)) | ||
77 | EVP_add_cipher(EVP_rc4_hmac_md5()); | ||
78 | #endif | ||
76 | #endif | 79 | #endif |
77 | #ifndef OPENSSL_NO_RC2 | 80 | #ifndef OPENSSL_NO_RC2 |
78 | EVP_add_cipher(EVP_rc2_cbc()); | 81 | EVP_add_cipher(EVP_rc2_cbc()); |
@@ -85,6 +88,12 @@ int SSL_library_init(void) | |||
85 | EVP_add_cipher(EVP_aes_128_cbc()); | 88 | EVP_add_cipher(EVP_aes_128_cbc()); |
86 | EVP_add_cipher(EVP_aes_192_cbc()); | 89 | EVP_add_cipher(EVP_aes_192_cbc()); |
87 | EVP_add_cipher(EVP_aes_256_cbc()); | 90 | EVP_add_cipher(EVP_aes_256_cbc()); |
91 | EVP_add_cipher(EVP_aes_128_gcm()); | ||
92 | EVP_add_cipher(EVP_aes_256_gcm()); | ||
93 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA1) | ||
94 | EVP_add_cipher(EVP_aes_128_cbc_hmac_sha1()); | ||
95 | EVP_add_cipher(EVP_aes_256_cbc_hmac_sha1()); | ||
96 | #endif | ||
88 | #endif | 97 | #endif |
89 | #ifndef OPENSSL_NO_CAMELLIA | 98 | #ifndef OPENSSL_NO_CAMELLIA |
90 | EVP_add_cipher(EVP_camellia_128_cbc()); | 99 | EVP_add_cipher(EVP_camellia_128_cbc()); |