diff options
| author | djm <> | 2008-09-06 12:17:54 +0000 |
|---|---|---|
| committer | djm <> | 2008-09-06 12:17:54 +0000 |
| commit | 6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda (patch) | |
| tree | 7ccc28afe1789ea3dbedf72365f955d5b8e105b5 /src/lib/libssl/ssl_algs.c | |
| parent | 89181603212b41e95cde36b1be5a146ce8fb2935 (diff) | |
| download | openbsd-6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda.tar.gz openbsd-6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda.tar.bz2 openbsd-6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda.zip | |
resolve conflicts
Diffstat (limited to 'src/lib/libssl/ssl_algs.c')
| -rw-r--r-- | src/lib/libssl/ssl_algs.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/lib/libssl/ssl_algs.c b/src/lib/libssl/ssl_algs.c index 3d1299ee7b..4717c0e6e1 100644 --- a/src/lib/libssl/ssl_algs.c +++ b/src/lib/libssl/ssl_algs.c | |||
| @@ -82,6 +82,16 @@ int SSL_library_init(void) | |||
| 82 | EVP_add_cipher(EVP_aes_192_cbc()); | 82 | EVP_add_cipher(EVP_aes_192_cbc()); |
| 83 | EVP_add_cipher(EVP_aes_256_cbc()); | 83 | EVP_add_cipher(EVP_aes_256_cbc()); |
| 84 | #endif | 84 | #endif |
| 85 | |||
| 86 | #ifndef OPENSSL_NO_CAMELLIA | ||
| 87 | EVP_add_cipher(EVP_camellia_128_cbc()); | ||
| 88 | EVP_add_cipher(EVP_camellia_256_cbc()); | ||
| 89 | #endif | ||
| 90 | |||
| 91 | #ifndef OPENSSL_NO_SEED | ||
| 92 | EVP_add_cipher(EVP_seed_cbc()); | ||
| 93 | #endif | ||
| 94 | |||
| 85 | #ifndef OPENSSL_NO_MD2 | 95 | #ifndef OPENSSL_NO_MD2 |
| 86 | EVP_add_digest(EVP_md2()); | 96 | EVP_add_digest(EVP_md2()); |
| 87 | #endif | 97 | #endif |
| @@ -101,11 +111,22 @@ int SSL_library_init(void) | |||
| 101 | EVP_add_digest_alias(SN_dsaWithSHA1,"DSS1"); | 111 | EVP_add_digest_alias(SN_dsaWithSHA1,"DSS1"); |
| 102 | EVP_add_digest_alias(SN_dsaWithSHA1,"dss1"); | 112 | EVP_add_digest_alias(SN_dsaWithSHA1,"dss1"); |
| 103 | #endif | 113 | #endif |
| 114 | #ifndef OPENSSL_NO_ECDSA | ||
| 115 | EVP_add_digest(EVP_ecdsa()); | ||
| 116 | #endif | ||
| 104 | /* If you want support for phased out ciphers, add the following */ | 117 | /* If you want support for phased out ciphers, add the following */ |
| 105 | #if 0 | 118 | #if 0 |
| 106 | EVP_add_digest(EVP_sha()); | 119 | EVP_add_digest(EVP_sha()); |
| 107 | EVP_add_digest(EVP_dss()); | 120 | EVP_add_digest(EVP_dss()); |
| 108 | #endif | 121 | #endif |
| 122 | #ifndef OPENSSL_NO_COMP | ||
| 123 | /* This will initialise the built-in compression algorithms. | ||
| 124 | The value returned is a STACK_OF(SSL_COMP), but that can | ||
| 125 | be discarded safely */ | ||
| 126 | (void)SSL_COMP_get_compression_methods(); | ||
| 127 | #endif | ||
| 128 | /* initialize cipher/digest methods table */ | ||
| 129 | ssl_load_ciphers(); | ||
| 109 | return(1); | 130 | return(1); |
| 110 | } | 131 | } |
| 111 | 132 | ||
