Minor fixes
authorHugo Landau <hlandau@openssl.org>
Wed, 30 Aug 2023 16:42:04 +0000 (17:42 +0100)
committerHugo Landau <hlandau@openssl.org>
Fri, 1 Sep 2023 13:02:54 +0000 (14:02 +0100)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21905)

doc/man3/SSL_get_stream_id.pod
ssl/quic/quic_impl.c

index 42ee08c814d94ef61c00cdce3f62a5ed33658462..26521cb452ecdd8658fdacf79444e11a1399fc00 100644 (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
index ec18a9f6c8d92bf800f3044a99186b13b432e3bb..a9945fec43b1b825b77a7526206c64d8b0647c98 100644 (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;