The user_ssl field in an SSL_CONNECTION is no longer used - so remove it.
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19748)
qc->tls = ossl_ssl_connection_new_int(ctx, TLS_method());
if (qc->tls == NULL || (sc = SSL_CONNECTION_FROM_SSL(qc->tls)) == NULL)
goto err;
- /* override the user_ssl of the inner connection */
- sc->user_ssl = ssl_base;
/* Channel is not created yet. */
qc->ssl_mode = qc->ssl.ctx->mode;
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;
struct ssl_connection_st {
/* type identifier and common data */
struct ssl_st ssl;
-#ifndef OPENSSL_NO_QUIC
- /* pointer to parent SSL of QUIC_CONNECTION or self */
- struct ssl_st *user_ssl;
-#endif
/*
* protocol version (one of SSL2_VERSION, SSL3_VERSION, TLS1_VERSION,
* DTLS1_VERSION)