diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-08-30 17:42:04 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-09-01 14:02:54 +0100 |
commit | 016a80dcf441189ac6d84533f1951506116a3b98 (patch) | |
tree | abc74e3c217f25abcd2edd9c7cae729e9adbf3d9 | |
parent | 7b1ca59995a0d0ad933b5d475face79b8ec99828 (diff) |
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)
-rw-r--r-- | doc/man3/SSL_get_stream_id.pod | 2 | ||||
-rw-r--r-- | ssl/quic/quic_impl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/man3/SSL_get_stream_id.pod b/doc/man3/SSL_get_stream_id.pod index 42ee08c814..26521cb452 100644 --- a/doc/man3/SSL_get_stream_id.pod +++ b/doc/man3/SSL_get_stream_id.pod @@ -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 diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index ec18a9f6c8..a9945fec43 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -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; |