mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
Ensure the QUIC TLS SSL object is marked as shutdown
If we shutdown the QUIC connection then we should mark the underlying TLS SSL object as shutdown as well. Otherwise any sessions are considered unusable for resumption. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21591)
This commit is contained in:
parent
829eec9f86
commit
f219abef51
@ -1203,6 +1203,8 @@ int ossl_quic_conn_shutdown(SSL *s, uint64_t flags,
|
||||
ossl_quic_channel_local_close(ctx.qc->ch,
|
||||
args != NULL ? args->quic_error_code : 0);
|
||||
|
||||
SSL_set_shutdown(ctx.qc->tls, SSL_SENT_SHUTDOWN);
|
||||
|
||||
if (ossl_quic_channel_is_terminated(ctx.qc->ch)) {
|
||||
quic_unlock(ctx.qc);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user