diff options
author | tedu <> | 2014-04-17 21:15:37 +0000 |
---|---|---|
committer | tedu <> | 2014-04-17 21:15:37 +0000 |
commit | e3644ed49258ff4a399142bf4ed0a7ba5f9bf76a (patch) | |
tree | 4f8177e0fe999a417f2547d73b68e3cecc84bcb5 /src/lib/libssl/ssl_algs.c | |
parent | 3fbbc10c3d88e1536d26ef0ba52dedea3e37ec39 (diff) | |
download | openbsd-e3644ed49258ff4a399142bf4ed0a7ba5f9bf76a.tar.gz openbsd-e3644ed49258ff4a399142bf4ed0a7ba5f9bf76a.tar.bz2 openbsd-e3644ed49258ff4a399142bf4ed0a7ba5f9bf76a.zip |
SHA and AES (and sadly MD5) can't be considered optional. ok beck miod
Diffstat (limited to 'src/lib/libssl/ssl_algs.c')
-rw-r--r-- | src/lib/libssl/ssl_algs.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/libssl/ssl_algs.c b/src/lib/libssl/ssl_algs.c index 92973866d2..463bf8ad66 100644 --- a/src/lib/libssl/ssl_algs.c +++ b/src/lib/libssl/ssl_algs.c | |||
@@ -85,18 +85,13 @@ SSL_library_init(void) | |||
85 | */ | 85 | */ |
86 | EVP_add_cipher(EVP_rc2_40_cbc()); | 86 | EVP_add_cipher(EVP_rc2_40_cbc()); |
87 | #endif | 87 | #endif |
88 | #ifndef OPENSSL_NO_AES | ||
89 | EVP_add_cipher(EVP_aes_128_cbc()); | 88 | EVP_add_cipher(EVP_aes_128_cbc()); |
90 | EVP_add_cipher(EVP_aes_192_cbc()); | 89 | EVP_add_cipher(EVP_aes_192_cbc()); |
91 | EVP_add_cipher(EVP_aes_256_cbc()); | 90 | EVP_add_cipher(EVP_aes_256_cbc()); |
92 | EVP_add_cipher(EVP_aes_128_gcm()); | 91 | EVP_add_cipher(EVP_aes_128_gcm()); |
93 | EVP_add_cipher(EVP_aes_256_gcm()); | 92 | EVP_add_cipher(EVP_aes_256_gcm()); |
94 | #if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA1) | ||
95 | EVP_add_cipher(EVP_aes_128_cbc_hmac_sha1()); | 93 | EVP_add_cipher(EVP_aes_128_cbc_hmac_sha1()); |
96 | EVP_add_cipher(EVP_aes_256_cbc_hmac_sha1()); | 94 | EVP_add_cipher(EVP_aes_256_cbc_hmac_sha1()); |
97 | #endif | ||
98 | |||
99 | #endif | ||
100 | #ifndef OPENSSL_NO_CAMELLIA | 95 | #ifndef OPENSSL_NO_CAMELLIA |
101 | EVP_add_cipher(EVP_camellia_128_cbc()); | 96 | EVP_add_cipher(EVP_camellia_128_cbc()); |
102 | EVP_add_cipher(EVP_camellia_256_cbc()); | 97 | EVP_add_cipher(EVP_camellia_256_cbc()); |
@@ -106,16 +101,12 @@ SSL_library_init(void) | |||
106 | EVP_add_cipher(EVP_seed_cbc()); | 101 | EVP_add_cipher(EVP_seed_cbc()); |
107 | #endif | 102 | #endif |
108 | 103 | ||
109 | #ifndef OPENSSL_NO_MD5 | ||
110 | EVP_add_digest(EVP_md5()); | 104 | EVP_add_digest(EVP_md5()); |
111 | EVP_add_digest_alias(SN_md5, "ssl2-md5"); | 105 | EVP_add_digest_alias(SN_md5, "ssl2-md5"); |
112 | EVP_add_digest_alias(SN_md5, "ssl3-md5"); | 106 | EVP_add_digest_alias(SN_md5, "ssl3-md5"); |
113 | #endif | ||
114 | #ifndef OPENSSL_NO_SHA | ||
115 | EVP_add_digest(EVP_sha1()); /* RSA with sha1 */ | 107 | EVP_add_digest(EVP_sha1()); /* RSA with sha1 */ |
116 | EVP_add_digest_alias(SN_sha1, "ssl3-sha1"); | 108 | EVP_add_digest_alias(SN_sha1, "ssl3-sha1"); |
117 | EVP_add_digest_alias(SN_sha1WithRSAEncryption, SN_sha1WithRSA); | 109 | EVP_add_digest_alias(SN_sha1WithRSAEncryption, SN_sha1WithRSA); |
118 | #endif | ||
119 | EVP_add_digest(EVP_sha224()); | 110 | EVP_add_digest(EVP_sha224()); |
120 | EVP_add_digest(EVP_sha256()); | 111 | EVP_add_digest(EVP_sha256()); |
121 | EVP_add_digest(EVP_sha384()); | 112 | EVP_add_digest(EVP_sha384()); |