Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #21905)
  • Loading branch information
hlandau committed Sep 1, 2023
1 parent 7b1ca59 commit 016a80d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/man3/SSL_get_stream_id.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ssl/quic/quic_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 016a80d

Please sign in to comment.