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

index 21d8d54..faa7e82 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(OPENSSL_NO_SHA1)
        EVP_add_cipher(EVP_aes_128_cbc_hmac_sha1());
        EVP_add_cipher(EVP_aes_256_cbc_hmac_sha1());