QUIC PORT: Add explicit cast to get_time wrapper
authorHugo Landau <hlandau@openssl.org>
Tue, 19 Dec 2023 07:34:59 +0000 (07:34 +0000)
committerHugo Landau <hlandau@openssl.org>
Thu, 21 Dec 2023 08:12:06 +0000 (08:12 +0000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22674)

ssl/quic/quic_port.c

index 9976862138c09288eb920a53dad70676a6b94286..46ca22cc3b1850ecf75f52f765f2432e8c12eb0f 100644 (file)
@@ -162,7 +162,7 @@ OSSL_TIME ossl_quic_port_get_time(QUIC_PORT *port)
 
 static OSSL_TIME get_time(void *port)
 {
-    return ossl_quic_port_get_time(port);
+    return ossl_quic_port_get_time((QUIC_PORT *)port);
 }
 
 int ossl_quic_port_get_rx_short_dcid_len(const QUIC_PORT *port)