]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Minor fixes
authorHugo Landau <hlandau@openssl.org>
Thu, 18 Jan 2024 15:31:41 +0000 (15:31 +0000)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:32 +0000 (11:27 -0500)
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23334)

include/internal/quic_predef.h
include/internal/quic_ssl.h
ssl/quic/quic_impl.c
ssl/ssl_cert_comp.c
test/build.info
test/cert_comp_test.c

index 899f60959a4279685ddd06f77fde644bc9210999..1f1012329d8a4ee82eceda2c5f7032798efa4dc1 100644 (file)
@@ -38,6 +38,8 @@ typedef struct quic_urxe_st QUIC_URXE;
 typedef struct quic_engine_st QUIC_ENGINE;
 typedef struct quic_obj_st QUIC_OBJ;
 typedef struct quic_conn_st QUIC_CONNECTION;
+typedef struct quic_xso_st QUIC_XSO;
+typedef struct quic_listener_st QUIC_LISTENER;
 
 # endif
 
index ce7142c51f5f660ccab773c2c8846f60d4065c6e..ae70233aeb8eb7dc43a99e577302a6417c895cec 100644 (file)
@@ -15,6 +15,7 @@
 # include "internal/quic_record_rx.h" /* OSSL_QRX */
 # include "internal/quic_ackm.h"      /* OSSL_ACKM */
 # include "internal/quic_channel.h"   /* QUIC_CHANNEL */
+# include "internal/quic_predef.h"
 
 # ifndef OPENSSL_NO_QUIC
 
@@ -45,10 +46,6 @@ __owur int ossl_quic_num_ciphers(void);
 __owur const SSL_CIPHER *ossl_quic_get_cipher(unsigned int u);
 int ossl_quic_renegotiate_check(SSL *ssl, int initok);
 
-typedef struct quic_conn_st QUIC_CONNECTION;
-typedef struct quic_xso_st QUIC_XSO;
-typedef struct quic_listener_st QUIC_LISTENER;
-
 int ossl_quic_do_handshake(SSL *s);
 void ossl_quic_set_connect_state(SSL *s);
 void ossl_quic_set_accept_state(SSL *s);
index 457d97af85100d467f72571a37d7993a08420fb6..cbedf0096822b7eda0b81ad5c23c7aabb1a9d729 100644 (file)
@@ -3078,7 +3078,8 @@ SSL *ossl_quic_get0_listener(SSL *s)
     if (!expect_quic(s, &ctx))
         return NULL;
 
-    return NULL; // XXX TODO
+    /* TODO(QUIC SERVER): Implement SSL_get0_listener */
+    return NULL;
 }
 
 /*
index 7bf49d435f575cfa95d940c7ccd8428e12430057..010e03a702d4f8b3de2f4390f15c3d8c990d5709 100644 (file)
@@ -11,6 +11,7 @@
 #include "ssl_local.h"
 #include "internal/e_os.h"
 #include "internal/refcount.h"
+#include "internal/ssl_unwrap.h"
 
 size_t ossl_calculate_comp_expansion(int alg, size_t length)
 {
index e14809f4b209659b9ce8ffed52912c2959bba442..73dac5788fb2484ada29deafa038f243726ca666 100644 (file)
@@ -1245,7 +1245,7 @@ ENDIF
 
   SOURCE[cert_comp_test]=cert_comp_test.c helpers/ssltestlib.c
   INCLUDE[cert_comp_test]=../include ../apps/include ..
-  DEPEND[cert_comp_test]=../libcrypto ../libssl libtestutil.a
+  DEPEND[cert_comp_test]=../libcrypto.a ../libssl.a libtestutil.a
 
   SOURCE[x509_acert_test]=x509_acert_test.c
   INCLUDE[x509_acert_test]=../include ../apps/include
index 5c385df80508e299e1aa1cf6fd82bbd1dbe9721e..66c58709946e4a41d5dbe9d626965104f6d91df3 100644 (file)
@@ -17,6 +17,7 @@
 
 #include <openssl/ssl.h>
 #include "internal/nelem.h"
+#include "internal/ssl_unwrap.h"
 #include "helpers/ssltestlib.h"
 #include "testutil.h"
 #include "../ssl/ssl_local.h"