Minor fixes

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21905)
This commit is contained in:
Hugo Landau 2023-08-30 17:42:04 +01:00
parent 7b1ca59995
commit 016a80dcf4
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ created.
While QUICv1 assigns specific meaning to the low two bits of a QUIC stream ID,
QUIC stream IDs in future versions of QUIC are not required to have the same
semantics. Do not determine stream properties using these bits. Instead, use
SSL_get_stream_type() to determine the stream type and SSL_get_stream_origin()
SSL_get_stream_type() to determine the stream type and SSL_get_stream_is_local()
to determine the stream initiator.
The SSL_get_stream_type() identifies the type of a QUIC stream based on its

View File

@ -3343,7 +3343,7 @@ int ossl_quic_get_conn_close_info(SSL *ssl,
info->reason_len = tc->reason_len;
info->flags = 0;
if (!tc->remote)
info->flags |= SSL_CONN_CLOSE_FLAG_LOCAL;
info->flags |= SSL_CONN_CLOSE_FLAG_LOCAL;
if (!tc->app)
info->flags |= SSL_CONN_CLOSE_FLAG_TRANSPORT;
return 1;