aboutsummaryrefslogtreecommitdiffstats
path: root/ssl/ssl_conf.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-11-08 16:20:08 +0000
committerMatt Caswell <matt@openssl.org>2023-01-24 17:16:29 +0000
commita7f41885b368c7fb63e52aadaa0a5b5bd239b876 (patch)
tree864a42c8091a387cf991b9c8d803d23064ff0b46 /ssl/ssl_conf.c
parent342e3652c791bdb06e08abcc169b4456c83ccd00 (diff)
downloadopenssl-a7f41885b368c7fb63e52aadaa0a5b5bd239b876.tar.gz
Create the SSL object for QUIC-TLS
The "user" SSL object which represents the QUIC connection should have an "inner" SSL object to represent the TLS connection. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19748)
Diffstat (limited to 'ssl/ssl_conf.c')
-rw-r--r--ssl/ssl_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_conf.c b/ssl/ssl_conf.c
index 0bea29fb66..b46b5f15d9 100644
--- a/ssl/ssl_conf.c
+++ b/ssl/ssl_conf.c
@@ -337,7 +337,7 @@ static int min_max_proto(SSL_CONF_CTX *cctx, const char *value, int *bound)
if (cctx->ctx != NULL)
method_version = cctx->ctx->method->version;
else if (cctx->ssl != NULL)
- method_version = cctx->ssl->ctx->method->version;
+ method_version = cctx->ssl->defltmeth->version;
else
return 0;
if ((new_version = protocol_from_string(value)) < 0)