diff options
author | djm <> | 2012-10-13 21:25:14 +0000 |
---|---|---|
committer | djm <> | 2012-10-13 21:25:14 +0000 |
commit | 93723b50b639d8dc717bc1bf463fd46e1b321239 (patch) | |
tree | 281e0a29ae8f87a8c47fbd4deaa1f3d48b8cc5c1 /src/lib/libssl/ssl_algs.c | |
parent | 65e72ac55a6405783db7a12d7e35a7561d46005b (diff) | |
download | openbsd-93723b50b639d8dc717bc1bf463fd46e1b321239.tar.gz openbsd-93723b50b639d8dc717bc1bf463fd46e1b321239.tar.bz2 openbsd-93723b50b639d8dc717bc1bf463fd46e1b321239.zip |
resolve conflicts
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()); |