From: Alan T. DeKok Date: Fri, 24 Aug 2012 09:44:24 +0000 (+0200) Subject: Add all algorithms X-Git-Tag: release_2_2_0~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26513e5404ccdb6fd5480099b3bded3760415439;p=thirdparty%2Ffreeradius-server.git Add all algorithms Apparently OpenSSL knows about various cipher methods, but refuses to use them unless you say "pretty please". --- diff --git a/src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c b/src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c index 88d71ad2a65..8b315735461 100644 --- a/src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c +++ b/src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c @@ -934,6 +934,12 @@ static SSL_CTX *init_tls_ctx(EAP_TLS_CONF *conf) SSL_library_init(); SSL_load_error_strings(); + /* + * Bug fix + * http://old.nabble.com/Backward-compatibility-of-private-key-files--td27937046.html + */ + OpenSSL_add_all_algorithms(); + /* * SHA256 is in all versions of OpenSSL, but isn't * initialized by default. It's needed for WiMAX