diff options
Diffstat (limited to 'lib/libssl/ssl_sess.c')
-rw-r--r-- | lib/libssl/ssl_sess.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libssl/ssl_sess.c b/lib/libssl/ssl_sess.c index cb985cadb56..76f194ca78c 100644 --- a/lib/libssl/ssl_sess.c +++ b/lib/libssl/ssl_sess.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_sess.c,v 1.125 2024/03/27 06:47:52 tb Exp $ */ +/* $OpenBSD: ssl_sess.c,v 1.126 2024/07/19 08:54:31 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -290,11 +290,6 @@ ssl_session_dup(SSL_SESSION *sess, int include_ticket) copy->cipher = sess->cipher; copy->cipher_id = sess->cipher_id; - if (sess->ciphers != NULL) { - if ((copy->ciphers = sk_SSL_CIPHER_dup(sess->ciphers)) == NULL) - goto err; - } - if (sess->tlsext_hostname != NULL) { copy->tlsext_hostname = strdup(sess->tlsext_hostname); if (copy->tlsext_hostname == NULL) @@ -881,8 +876,6 @@ SSL_SESSION_free(SSL_SESSION *ss) X509_free(ss->peer_cert); - sk_SSL_CIPHER_free(ss->ciphers); - free(ss->tlsext_hostname); free(ss->tlsext_tick); free(ss->tlsext_ecpointformatlist); |