mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
DTLS 1.3: move state machine forward when HVR received
This commit is contained in:
@@ -11917,7 +11917,7 @@ int wolfSSL_connect_TLSv13(WOLFSSL* ssl)
|
||||
case CLIENT_HELLO_SENT:
|
||||
/* Get the response/s from the server. */
|
||||
while (ssl->options.serverState <
|
||||
SERVER_HELLO_RETRY_REQUEST_COMPLETE) {
|
||||
SERVER_HELLOVERIFYREQUEST_COMPLETE) {
|
||||
if ((ssl->error = ProcessReply(ssl)) < 0) {
|
||||
WOLFSSL_ERROR(ssl->error);
|
||||
return WOLFSSL_FATAL_ERROR;
|
||||
|
@@ -6836,7 +6836,7 @@ static int test_client_nofail(void* args, cbType cb)
|
||||
if (ret < 0) { break; } else if (ret == 0) { continue; }
|
||||
}
|
||||
#endif
|
||||
ret = wolfSSL_connect(ssl);
|
||||
ret = wolfSSL_negotiate(ssl);
|
||||
err = wolfSSL_get_error(ssl, 0);
|
||||
} while (err == WC_PENDING_E);
|
||||
if (ret != WOLFSSL_SUCCESS) {
|
||||
|
Reference in New Issue
Block a user