aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-01-31 12:34:21 +0000
committerHugo Landau <hlandau@openssl.org>2024-02-10 11:37:13 +0000
commitd4999f2b746a6845536e720252791601acd6bdad (patch)
tree2232d15950736d5f4b5067804e1b4a00e74fa864
parentcfabddfb9f6f54b3f3b8e90ccb918967390a7fb2 (diff)
downloadopenssl-d4999f2b746a6845536e720252791601acd6bdad.tar.gz
BIO: Add SSL poll descriptor type
Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23495)
-rw-r--r--include/openssl/bio.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openssl/bio.h.in b/include/openssl/bio.h.in
index 418d119737..d1a29bee32 100644
--- a/include/openssl/bio.h.in
+++ b/include/openssl/bio.h.in
@@ -384,6 +384,7 @@ typedef struct bio_mmsg_cb_args_st {
#define BIO_POLL_DESCRIPTOR_TYPE_NONE 0
#define BIO_POLL_DESCRIPTOR_TYPE_SOCK_FD 1
+#define BIO_POLL_DESCRIPTOR_TYPE_SSL 2
#define BIO_POLL_DESCRIPTOR_CUSTOM_START 8192
typedef struct bio_poll_descriptor_st {
@@ -392,6 +393,7 @@ typedef struct bio_poll_descriptor_st {
int fd;
void *custom;
uintptr_t custom_ui;
+ SSL *ssl;
} value;
} BIO_POLL_DESCRIPTOR;