]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Fix SSL_accept()
authorMatt Caswell <matt@openssl.org>
Mon, 7 Apr 2025 08:58:30 +0000 (09:58 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 14 Apr 2025 07:52:18 +0000 (08:52 +0100)
If you have a QUIC server SSL connection object, you should be able to
call SSL_accept() on it.

Fixes #27282

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27283)

ssl/quic/quic_method.c

index 0de2bca47e6bbf8fb90f69a413a535623615aa45..8092855efc61a733019d2eab30bc123d76187efc 100644 (file)
@@ -23,5 +23,5 @@ IMPLEMENT_quic_meth_func(OSSL_QUIC_ANY_VERSION,
 
 IMPLEMENT_quic_meth_func(OSSL_QUIC_ANY_VERSION,
                          OSSL_QUIC_server_method,
-                         ssl_undefined_function,
-                         ossl_quic_connect, ssl3_undef_enc_method)
+                         ossl_quic_accept,
+                         ssl_undefined_function, ssl3_undef_enc_method)