Skip to content

Commit

Permalink
Fix WOLFSSL_NO_TLS12 build error
Browse files Browse the repository at this point in the history
  • Loading branch information
embhorn committed Aug 28, 2024
1 parent bcbb544 commit 1a3a730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3628,15 +3628,15 @@ static int _Rehandshake(WOLFSSL* ssl)

ssl->secure_renegotiation->cache_status = SCR_CACHE_NEEDED;

#if !defined(NO_WOLFSSL_SERVER)
#if !defined(NO_WOLFSSL_SERVER) && !defined(WOLFSSL_NO_TLS12)
if (ssl->options.side == WOLFSSL_SERVER_END) {
ret = SendHelloRequest(ssl);
if (ret != 0) {
ssl->error = ret;
return WOLFSSL_FATAL_ERROR;
}
}
#endif /* !NO_WOLFSSL_SERVER */
#endif /* !NO_WOLFSSL_SERVER && !WOLFSSL_NO_TLS12 */

ret = InitHandshakeHashes(ssl);
if (ret != 0) {
Expand Down

0 comments on commit 1a3a730

Please sign in to comment.