diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-04-26 15:56:59 +0100 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-05-12 14:47:14 +0100 |
commit | 22b1a96ff798cf73f4b573bff1d9f80236d3f102 (patch) | |
tree | 57096e855e78c11b08d4bc04dc5f015975c2142c /include | |
parent | 496b8162b6b7048a05809f5e85825ed02dff8a7c (diff) | |
download | openssl-new-22b1a96ff798cf73f4b573bff1d9f80236d3f102.tar.gz |
QUIC MSST: Minor fixes and cleanups
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20765)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/quic_stream_map.h | 2 | ||||
-rw-r--r-- | include/openssl/ssl.h.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/internal/quic_stream_map.h b/include/internal/quic_stream_map.h index 5d21c60185..920f3144b4 100644 --- a/include/internal/quic_stream_map.h +++ b/include/internal/quic_stream_map.h @@ -129,7 +129,7 @@ struct quic_stream_st { * queue nor has an associated XSO. This condition occurs when and only * when deleted is true. * - * - Once there is the case (i.e., no user-facing API object exposing the + * - Once this is the case (i.e., no user-facing API object exposing the * stream), we can delete the stream once we determine that all of our * protocol obligations requiring us to keep the QUIC_STREAM around have * been met. diff --git a/include/openssl/ssl.h.in b/include/openssl/ssl.h.in index 81d49e6299..fc326a573f 100644 --- a/include/openssl/ssl.h.in +++ b/include/openssl/ssl.h.in @@ -2270,8 +2270,8 @@ __owur SSL *SSL_get0_connection(SSL *s); __owur int SSL_is_connection(SSL *s); #define SSL_STREAM_TYPE_NONE 0 -#define SSL_STREAM_TYPE_READ 1 -#define SSL_STREAM_TYPE_WRITE 2 +#define SSL_STREAM_TYPE_READ (1U << 0) +#define SSL_STREAM_TYPE_WRITE (1U << 1) #define SSL_STREAM_TYPE_BIDI (SSL_STREAM_TYPE_READ | SSL_STREAM_TYPE_WRITE) __owur int SSL_get_stream_type(SSL *s); |