]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
QUIC Polling Design: minor fixups
authorHugo Landau <hlandau@openssl.org>
Thu, 1 Feb 2024 17:39:36 +0000 (17:39 +0000)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:32 +0000 (11:27 -0500)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23455)

doc/designs/quic-design/server/quic-polling.md

index 802fdf48d7b02123ed146cd90ccfc7a13e272b40..04ae9d7aa85a5e96c70a04f733d1ed3703ec27cd 100644 (file)
@@ -217,7 +217,7 @@ specifying a SSL object pointer:
 #define BIO_POLL_DESCRIPTOR_SSL 2   /* (SSL *) */
 
 typedef struct bio_poll_descriptor_st {
-    int type;
+    uint32_t type;
     union {
         ...
         SSL     *ssl;
@@ -696,8 +696,8 @@ SSL_as_poll_descriptor(SSL *s)
 {
     BIO_POLL_DESCRIPTOR d;
 
-    d.type    = BIO_POLL_DESCRIPTOR_TYPE_SSL;
-    d.ssl     = s;
+    d.type      = BIO_POLL_DESCRIPTOR_TYPE_SSL;
+    d.value.ssl = s;
 
     return d;
 }