]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unnecessary code
authorAlan T. DeKok <aland@freeradius.org>
Thu, 4 Mar 2021 14:27:07 +0000 (09:27 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 4 Mar 2021 14:29:39 +0000 (09:29 -0500)
due to unresolved issues (interactions with OpenSSL APIs),
just always use 1 session ticket, even for PEAP / TTLS.

src/main/tls.c

index aa2aeb98596c7e250b6bea0efd6720eedb3022f1..98a97966be51c40518c459cacd9947d003f84d9c 100644 (file)
@@ -3077,10 +3077,6 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx)
                 *      Track that we've verified the client certificate.
                 */
                ssn->client_cert_ok = (my_ok == 1);
-
-               if (ssn->quick_session_tickets && conf->session_cache_enable) {
-                       SSL_set_num_tickets(ssn->ssl, 1);
-               }
        } /* depth == 0 */
 
        if (certs && request && !my_ok) {