diff options
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); |