From e95d6e1eec2f080713aa91c12e411cea4cffee65 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 23 Jan 2023 14:04:26 +0000 Subject: Remove the user_ssl field The user_ssl field in an SSL_CONNECTION is no longer used - so remove it. Reviewed-by: Hugo Landau Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/19748) --- ssl/ssl_lib.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ssl/ssl_lib.c') diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index ffae69bc38..1e23ec55e5 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -739,11 +739,6 @@ SSL *ossl_ssl_connection_new_int(SSL_CTX *ctx, const SSL_METHOD *method) goto sslerr; } -#ifndef OPENSSL_NO_QUIC - /* set the parent (user visible) ssl to self */ - s->user_ssl = ssl; -#endif - RECORD_LAYER_init(&s->rlayer, s); s->options = ctx->options; -- cgit v1.2.3