remove extra wolfDTLS_accept_stateless step

pull/530/head
Juliusz Sosinowicz 2025-11-06 17:58:56 +01:00
parent c967668ebf
commit 734f9e2ff9
1 changed files with 0 additions and 8 deletions

View File

@ -136,14 +136,6 @@ int main(int argc, char** argv)
continue;
}
do {
ret = wolfDTLS_accept_stateless(ssl);
if (ret == WOLFSSL_FATAL_ERROR) {
fprintf(stderr, "wolfDTLS_accept_stateless failed\n");
goto cleanup;
}
} while (ret != WOLFSSL_SUCCESS);
printf("Client connected, processing...\n");
/* wolfSSL_read_early_data reads early data and advances the handshake */