]> 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)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Wed, 11 Sep 2024 08:00:08 +0000 (18:00 +1000)
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 f4fe0f606e80d60fe19bcdaa963ed1c04d2a9d70..9e3fd7255b8907576d84ce051f7d0af00df31deb 100644 (file)
@@ -39,6 +39,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 e233032dddf3c1a3e9602792b87411a0bd9f1c93..dff1c485cf3d09a133b294eed8afe3cbfbd82d2e 100644 (file)
@@ -3065,7 +3065,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 ba9bfb480c03c68a265ebc134f28b28b3304db8f..52f5f544a6cb97f8bca7c63028cacb2a2159c108 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 51ff81d5730b5b4ce26509126beddf8312ffbbdf..29d1f4c86e94750dca1b103be26e27a5beaacfd0 100644 (file)
@@ -1210,7 +1210,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"