summaryrefslogtreecommitdiffstats
path: root/include/internal
diff options
context:
space:
mode:
authoryangyangtiantianlonglong <yangtianlong1224@163.com>2022-01-19 11:19:52 +0800
committerTomas Mraz <tomas@openssl.org>2022-01-21 12:19:58 +0100
commit3d046c4d047a55123beeceffe9f8bae09159445e (patch)
treeea77dcd613d3ca21cd997acc14c1f4c238e31627 /include/internal
parentca048994ae1431965a068b17e1f17afa2345e1f5 (diff)
Fix the same BIO_FLAGS macro definition
Also add comment to the public header to avoid making another conflict in future. Fixes #17545 Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17546) (cherry picked from commit e278f18563dd3dd67c00200ee30402f48023c6ef)
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/bio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/bio.h b/include/internal/bio.h
index 2d36a7b980..02f7222ab4 100644
--- a/include/internal/bio.h
+++ b/include/internal/bio.h
@@ -48,9 +48,9 @@ int bread_conv(BIO *bio, char *data, size_t datal, size_t *read);
* BIO_FLAGS_KTLS_TX_CTRL_MSG means we are about to send a ctrl message next.
* BIO_FLAGS_KTLS_RX means we are using ktls with this BIO for receiving.
*/
-# define BIO_FLAGS_KTLS_TX 0x800
# define BIO_FLAGS_KTLS_TX_CTRL_MSG 0x1000
# define BIO_FLAGS_KTLS_RX 0x2000
+# define BIO_FLAGS_KTLS_TX 0x4000
/* KTLS related controls and flags */
# define BIO_set_ktls_flag(b, is_tx) \