Page MenuHomeFreeBSD

D34135.id102233.diff
No OneTemporary

D34135.id102233.diff

diff --git a/crypto/openssl/include/internal/bio.h b/crypto/openssl/include/internal/bio.h
--- a/crypto/openssl/include/internal/bio.h
+++ b/crypto/openssl/include/internal/bio.h
@@ -46,9 +46,9 @@
* 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) \
diff --git a/crypto/openssl/include/openssl/bio.h b/crypto/openssl/include/openssl/bio.h
--- a/crypto/openssl/include/openssl/bio.h
+++ b/crypto/openssl/include/openssl/bio.h
@@ -191,6 +191,8 @@
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 8, 6:43 PM (14 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28485548
Default Alt Text
D34135.id102233.diff (1 KB)

Event Timeline