We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0d952c3 + bcbd701 commit d351430Copy full SHA for d351430
1 file changed
src/tls13.c
@@ -13086,6 +13086,14 @@ int wolfSSL_connect_TLSv13(WOLFSSL* ssl)
13086
case HELLO_AGAIN_REPLY:
13087
/* Get the response/s from the server. */
13088
while (ssl->options.serverState < SERVER_FINISHED_COMPLETE) {
13089
+#ifdef WOLFSSL_DTLS13
13090
+ if (!IsAtLeastTLSv1_3(ssl->version)) {
13091
+ #ifndef WOLFSSL_NO_TLS12
13092
+ if (ssl->options.downgrade)
13093
+ return wolfSSL_connect(ssl);
13094
+ #endif
13095
+ }
13096
+#endif /* WOLFSSL_DTLS13 */
13097
if ((ssl->error = ProcessReply(ssl)) < 0) {
13098
WOLFSSL_ERROR(ssl->error);
13099
return WOLFSSL_FATAL_ERROR;
0 commit comments