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/openssl/ssl.h.in | |
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/openssl/ssl.h.in')
-rw-r--r-- | include/openssl/ssl.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
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); |