summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_algs.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2001-02-06 15:09:13 +0100
committerBen Laurie <ben@openssl.org>2001-02-06 15:09:13 +0100
commit259810e05bfcb465469a326cbfb939661a2fbcb9 (patch)
treed1d0e9f496dc18d640caad8eae5ef3c93190ef49 /ssl/ssl_algs.c
parentImprove the state machine. (diff)
downloadopenssl-259810e05bfcb465469a326cbfb939661a2fbcb9.tar.xz
openssl-259810e05bfcb465469a326cbfb939661a2fbcb9.zip
Rijdael CBC mode and partial undebugged SSL support.
Diffstat (limited to 'ssl/ssl_algs.c')
-rw-r--r--ssl/ssl_algs.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ssl/ssl_algs.c b/ssl/ssl_algs.c
index dde8918fe0..52d127ed67 100644
--- a/ssl/ssl_algs.c
+++ b/ssl/ssl_algs.c
@@ -63,6 +63,8 @@
int SSL_library_init(void)
{
+ int k;
+
#ifndef NO_DES
EVP_add_cipher(EVP_des_cbc());
EVP_add_cipher(EVP_des_ede3_cbc());
@@ -75,7 +77,9 @@ int SSL_library_init(void)
#endif
#ifndef NO_RC2
EVP_add_cipher(EVP_rc2_cbc());
-#endif
+#endif
+ for(k=0 ; k < 2 ; ++k)
+ EVP_add_cipher(EVP_rijndael_cbc(0,k));
#ifndef NO_MD2
EVP_add_digest(EVP_md2());
@@ -96,7 +100,6 @@ int SSL_library_init(void)
EVP_add_digest_alias(SN_dsaWithSHA1,"DSS1");
EVP_add_digest_alias(SN_dsaWithSHA1,"dss1");
#endif
-
/* If you want support for phased out ciphers, add the following */
#if 0
EVP_add_digest(EVP_sha());