[PATCH] use all available openssl algorithms

Dan Williams dcbw
Wed Jan 6 20:04:10 PST 2010


See:

https://bugzilla.redhat.com/show_bug.cgi?id=541924
https://bugzilla.redhat.com/show_bug.cgi?id=538851

---
Though maybe the EVP_add_digest() bits affect this and you'd rather
specify the algorithms exactly?

If acceptable, please also backport to stable 0.6, thanks!

diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c
index 1914b5d..5b3395a 100644
--- a/src/crypto/tls_openssl.c
+++ b/src/crypto/tls_openssl.c
@@ -686,6 +686,7 @@ void * tls_init(const struct tls_config *conf)
 #endif /* OPENSSL_FIPS */
 #endif /* CONFIG_FIPS */
 		SSL_load_error_strings();
+		OpenSSL_add_all_algorithms();
 		SSL_library_init();
 #ifndef OPENSSL_NO_SHA256
 		EVP_add_digest(EVP_sha256());





More information about the Hostap mailing list