-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Closed
Labels
triaged: bugThe issue/pr is/fixes a bugThe issue/pr is/fixes a bug
Description
An object returned from SSL_accept_connection() may not have completed its handshake. It should be perfectly ok to call SSL_accept on such an object. If you do this then you get an error response and an error is raised on the error stack "should not have been called".
By contrast it works as expected if you call SSL_do_handshake() instead of SSL_accept.
In particular this looks wrong:
openssl/ssl/quic/quic_method.c
Lines 24 to 27 in 648366a
| IMPLEMENT_quic_meth_func(OSSL_QUIC_ANY_VERSION, | |
| OSSL_QUIC_server_method, | |
| ssl_undefined_function, | |
| ossl_quic_connect, ssl3_undef_enc_method) |
I might have expected:
IMPLEMENT_quic_meth_func(OSSL_QUIC_ANY_VERSION,
OSSL_QUIC_server_method,
ossl_quic_accept,
ssl_undefined_function, ssl3_undef_enc_method) Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
triaged: bugThe issue/pr is/fixes a bugThe issue/pr is/fixes a bug
Type
Projects
Status
Done