add GCM ciphers in SSL_library_init
authorDr. Stephen Henson <steve@openssl.org>
Mon, 10 Oct 2011 12:56:11 +0000 (12:56 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 10 Oct 2011 12:56:11 +0000 (12:56 +0000)
ssl/ssl_algs.c

index 24976383e037b9c4c9c2353569a6ac5ab17166f2..7767bb55c850bc5f347c4d89111b19d2aa6593fc 100644 (file)
@@ -88,6 +88,8 @@ int SSL_library_init(void)
        EVP_add_cipher(EVP_aes_128_cbc());
        EVP_add_cipher(EVP_aes_192_cbc());
        EVP_add_cipher(EVP_aes_256_cbc());
+       EVP_add_cipher(EVP_aes_128_gcm());
+       EVP_add_cipher(EVP_aes_256_gcm());
 #if !defined(OPENSSL_NO_SHA) && !defined(OPNESSL_NO_SHA1)
        EVP_add_cipher(EVP_aes_128_cbc_hmac_sha1());
        EVP_add_cipher(EVP_aes_256_cbc_hmac_sha1());