]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add all algorithms
authorAlan T. DeKok <aland@freeradius.org>
Fri, 24 Aug 2012 09:44:24 +0000 (11:44 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 24 Aug 2012 09:44:24 +0000 (11:44 +0200)
Apparently OpenSSL knows about various cipher methods, but refuses
to use them unless you say "pretty please".

src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c

index 88d71ad2a65fb2dbe4dde8a871b9d89b22c56a20..8b3157354615e509c4a83d72f14b80db4bb6149a 100644 (file)
@@ -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