Skip to content

Commit 8a9a363

Browse files
committed
DTLS 1.3: move state machine forward when HVR received
1 parent 907a020 commit 8a9a363

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/tls13.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11917,7 +11917,7 @@ int wolfSSL_connect_TLSv13(WOLFSSL* ssl)
1191711917
case CLIENT_HELLO_SENT:
1191811918
/* Get the response/s from the server. */
1191911919
while (ssl->options.serverState <
11920-
SERVER_HELLO_RETRY_REQUEST_COMPLETE) {
11920+
SERVER_HELLOVERIFYREQUEST_COMPLETE) {
1192111921
if ((ssl->error = ProcessReply(ssl)) < 0) {
1192211922
WOLFSSL_ERROR(ssl->error);
1192311923
return WOLFSSL_FATAL_ERROR;

tests/api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6836,7 +6836,7 @@ static int test_client_nofail(void* args, cbType cb)
68366836
if (ret < 0) { break; } else if (ret == 0) { continue; }
68376837
}
68386838
#endif
6839-
ret = wolfSSL_connect(ssl);
6839+
ret = wolfSSL_negotiate(ssl);
68406840
err = wolfSSL_get_error(ssl, 0);
68416841
} while (err == WC_PENDING_E);
68426842
if (ret != WOLFSSL_SUCCESS) {

0 commit comments

Comments
 (0)