From: Matt Caswell Date: Thu, 9 Nov 2023 16:59:40 +0000 (+0000) Subject: Fix a bad backport X-Git-Tag: openssl-3.1.5~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd4fd35bf906290a9c14b81f16e7ae01d297122;p=thirdparty%2Fopenssl.git Fix a bad backport This is causing compilation failure Reviewed-by: Dmitry Belyavskiy Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/22682) --- diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 460b84325d6..bcfe57b46f0 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -3366,7 +3366,7 @@ void ssl3_free(SSL *s) OPENSSL_free(s->s3.alpn_proposed); #ifndef OPENSSL_NO_PSK - OPENSSL_free(sc->s3.tmp.psk); + OPENSSL_free(s->s3.tmp.psk); #endif #ifndef OPENSSL_NO_SRP