mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 12:04:38 +08:00
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:
parent
7b1ca59995
commit
016a80dcf4
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user