mirror of https://github.com/wolfSSL/wolfssl.git
Merge pull request #5881 from anhu/warn_session_ticket
Warn that renegotiation in TLS 1.3 requires session ticket.pull/5885/head
commit
334042d7f5
|
@ -2772,6 +2772,12 @@ THREAD_RETURN WOLFSSL_THREAD client_test(void* args)
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef HAVE_SESSION_TICKET
|
||||
if ((version >= 4) && resumeSession) {
|
||||
fprintf(stderr, "Can't do TLS 1.3 resumption; need session tickets!\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_WNR
|
||||
if (wc_InitNetRandom(wnrConfigFile, NULL, 5000) != 0)
|
||||
err_sys("can't load whitewood net random config file");
|
||||
|
|
|
@ -2302,6 +2302,12 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef HAVE_SESSION_TICKET
|
||||
if ((version >= 4) && resume) {
|
||||
fprintf(stderr, "Can't do TLS 1.3 resumption; need session tickets!\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_WNR
|
||||
if (wc_InitNetRandom(wnrConfigFile, NULL, 5000) != 0)
|
||||
err_sys_ex(runWithErrors, "can't load whitewood net random config "
|
||||
|
|
Loading…
Reference in New Issue