diff options
author | Tomas Mraz <tomas@openssl.org> | 2022-10-26 18:35:04 +0200 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2022-11-14 08:01:57 +0000 |
commit | a17c713a7ad394b08646bbb0f0ba1a16e1cc8799 (patch) | |
tree | 686651f91cdad0621bcad17f8647fa62f2af4aba /ssl/quic/quic_impl.c | |
parent | e77396f6f508f604b69f795e624896c427fe8b06 (diff) |
Plug the QUIC_RSTREAM to the RX depacketizer
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19351)
Diffstat (limited to 'ssl/quic/quic_impl.c')
-rw-r--r-- | ssl/quic/quic_impl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index ed3b07e63d..856fa5e188 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -21,7 +21,7 @@ SSL *ossl_quic_new(SSL_CTX *ctx) if (qc == NULL) goto err; - ssl = &qc->ssl; + ssl = &qc->stream.ssl; if (!ossl_ssl_init(ssl, ctx, SSL_TYPE_QUIC_CONNECTION)) { OPENSSL_free(qc); ssl = NULL; @@ -55,6 +55,7 @@ void ossl_quic_free(SSL *s) QUIC_CONNECTION *qc = QUIC_CONNECTION_FROM_SSL(s); if (qc == NULL) { + /* TODO(QUIC): Temporarily needed to release the inner tls object */ SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s); if (sc != NULL) @@ -71,6 +72,7 @@ int ossl_quic_reset(SSL *s) QUIC_CONNECTION *qc = QUIC_CONNECTION_FROM_SSL(s); if (qc == NULL) { + /* TODO(QUIC): Temporarily needed to reset the inner tls object */ SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s); return sc != NULL ? ossl_ssl_connection_reset(s) : 0; |