]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Allow TLS 1.1 and 1.2
authorAlan T. DeKok <aland@freeradius.org>
Mon, 3 Nov 2014 19:37:59 +0000 (14:37 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 3 Nov 2014 19:38:15 +0000 (14:38 -0500)
src/main/tls.c

index 373e24cc9cf49f4ff0717e09fc074fbaa9b56ba3..2aef71fb808c1d2e7777dcda74906107a3053f82 100644 (file)
@@ -2171,7 +2171,7 @@ SSL_CTX *tls_init_ctx(fr_tls_server_conf_t *conf, int client)
        EVP_add_digest(EVP_sha256());
 #endif
 
-       ctx = SSL_CTX_new(TLSv1_method());
+       ctx = SSL_CTX_new(SSLv23_method()); /* which is really "all known SSL / TLS methods".  Idiots. */
        if (!ctx) {
                int err;
                while ((err = ERR_get_error())) {