From d4999f2b746a6845536e720252791601acd6bdad Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Wed, 31 Jan 2024 12:34:21 +0000 Subject: [PATCH] BIO: Add SSL poll descriptor type Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23495) --- include/openssl/bio.h.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/openssl/bio.h.in b/include/openssl/bio.h.in index 418d119737f..d1a29bee328 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; -- 2.47.2