Fix SRTP compile issues for windows
[oweals/openssl.git] / ssl / ssl_algs.c
index d443143c59354deefeca5853bd02417385c09946..63f4f4b240e760276a73c94c6d5adb7970c9429e 100644 (file)
@@ -94,6 +94,11 @@ int SSL_library_init(void)
        EVP_add_cipher(EVP_aes_128_cbc_hmac_sha1());
        EVP_add_cipher(EVP_aes_256_cbc_hmac_sha1());
 #endif
+#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA256)
+       EVP_add_cipher(EVP_aes_128_cbc_hmac_sha256());
+       EVP_add_cipher(EVP_aes_256_cbc_hmac_sha256());
+#endif
+
 #endif
 #ifndef OPENSSL_NO_CAMELLIA
        EVP_add_cipher(EVP_camellia_128_cbc());