Camellia cipher, contributed by NTT
[openssl.git] / ssl / ssl_algs.c
index ac82d45a9c61931b1bc3f7f49ce4121cfc78ad45..3d93c5ab78cec41ddd403946a6576a0dfa9ad61f 100644 (file)
@@ -82,6 +82,15 @@ int SSL_library_init(void)
        EVP_add_cipher(EVP_aes_192_cbc());
        EVP_add_cipher(EVP_aes_256_cbc());
 #endif
+
+
+/* The Camellia algorithm is registered in the management table of EVP. */
+#ifndef OPENSSL_NO_CAMELLIA
+       EVP_add_cipher(EVP_camellia_128_cbc());
+       EVP_add_cipher(EVP_camellia_256_cbc());
+#endif
+
+
 #ifndef OPENSSL_NO_MD2
        EVP_add_digest(EVP_md2());
 #endif