mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-05-04 05:30:51 +02:00
Fix for "testsuite" with TLSv1.3 and --enable-sniffer.
This commit is contained in:
@@ -227,8 +227,11 @@ THREAD_RETURN CYASSL_THREAD echoserver_test(void* args)
|
||||
#endif
|
||||
|
||||
#if defined(CYASSL_SNIFFER)
|
||||
/* don't use EDH, can't sniff tmp keys */
|
||||
CyaSSL_CTX_set_cipher_list(ctx, "AES256-SHA");
|
||||
/* Only set if not running testsuite */
|
||||
if (XSTRNCMP(argv[0], "testsuite", XSTRLEN("testsuite")) != 0) {
|
||||
/* don't use EDH, can't sniff tmp keys */
|
||||
CyaSSL_CTX_set_cipher_list(ctx, "AES256-SHA");
|
||||
}
|
||||
#endif
|
||||
|
||||
if (doPSK) {
|
||||
|
||||
Reference in New Issue
Block a user