Skip to content

Commit

Permalink
BIO: Add SSL poll descriptor type
Browse files Browse the repository at this point in the history
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #23495)
  • Loading branch information
hlandau committed Feb 10, 2024
1 parent cfabddf commit d4999f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/openssl/bio.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -392,6 +393,7 @@ typedef struct bio_poll_descriptor_st {
int fd;
void *custom;
uintptr_t custom_ui;
SSL *ssl;
} value;
} BIO_POLL_DESCRIPTOR;

Expand Down

0 comments on commit d4999f2

Please sign in to comment.