summaryrefslogtreecommitdiff
path: root/include/openssl
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-01-09 11:20:08 +0000
committerHugo Landau <hlandau@openssl.org>2023-01-13 13:20:36 +0000
commit692df8d34401c95ee446e26033711030e471e7e7 (patch)
tree0525474165b5ee186b0f625ebd1f599b2257c0d4 /include/openssl
parent8ccc567ef0af03a312d7742f451556eb788d5286 (diff)
downloadopenssl-new-692df8d34401c95ee446e26033711030e471e7e7.tar.gz
QUIC BIO Poll Descriptors: simplify custom interface
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19703)
Diffstat (limited to 'include/openssl')
-rw-r--r--include/openssl/bio.h.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/openssl/bio.h.in b/include/openssl/bio.h.in
index dbb65f50e4..037f1ed3ff 100644
--- a/include/openssl/bio.h.in
+++ b/include/openssl/bio.h.in
@@ -383,16 +383,12 @@ 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_CUSTOM_START 8192
-#define BIO_POLL_DESCRIPTOR_NUM_CUSTOM 4
typedef struct bio_poll_descriptor_st {
int type;
union {
int fd;
- union {
- void *ptr;
- uint64_t u64;
- } custom[BIO_POLL_DESCRIPTOR_NUM_CUSTOM];
+ void *custom;
} value;
} BIO_POLL_DESCRIPTOR;