We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5e77c06 + 1a3a730 commit d4f6b5bCopy full SHA for d4f6b5b
1 file changed
src/ssl.c
@@ -3628,15 +3628,15 @@ static int _Rehandshake(WOLFSSL* ssl)
3628
3629
ssl->secure_renegotiation->cache_status = SCR_CACHE_NEEDED;
3630
3631
-#if !defined(NO_WOLFSSL_SERVER)
+#if !defined(NO_WOLFSSL_SERVER) && !defined(WOLFSSL_NO_TLS12)
3632
if (ssl->options.side == WOLFSSL_SERVER_END) {
3633
ret = SendHelloRequest(ssl);
3634
if (ret != 0) {
3635
ssl->error = ret;
3636
return WOLFSSL_FATAL_ERROR;
3637
}
3638
3639
-#endif /* !NO_WOLFSSL_SERVER */
+#endif /* !NO_WOLFSSL_SERVER && !WOLFSSL_NO_TLS12 */
3640
3641
ret = InitHandshakeHashes(ssl);
3642
0 commit comments