Skip to content

Commit

Permalink
Merge pull request #7915 from embhorn/zd18539
Browse files Browse the repository at this point in the history
Fix WOLFSSL_NO_TLS12 build error
  • Loading branch information
dgarske authored Aug 28, 2024
2 parents 5e77c06 + 1a3a730 commit d4f6b5b
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 d4f6b5b

Please sign in to comment.