keep ntru example suites as ntru, even if sniffing
This commit is contained in:
parent
004da8ff52
commit
0d9c2b6431
@ -89,7 +89,7 @@ void client_test(void* args)
|
||||
SSL_CTX_set_default_passwd_cb(ctx, PasswordCallBack);
|
||||
#endif
|
||||
|
||||
#ifdef CYASSL_SNIFFER
|
||||
#if defined(CYASSL_SNIFFER) && !defined(HAVE_NTRU)
|
||||
/* don't use EDH, can't sniff tmp keys */
|
||||
SSL_CTX_set_cipher_list(ctx, "AES256-SHA");
|
||||
#endif
|
||||
|
@ -63,7 +63,7 @@ void echoclient_test(void* args)
|
||||
load_buffer(ctx, caCert, CYASSL_CA);
|
||||
#endif
|
||||
|
||||
#ifdef CYASSL_SNIFFER
|
||||
#if defined(CYASSL_SNIFFER) && !defined(HAVE_NTRU)
|
||||
/* don't use EDH, can't sniff tmp keys */
|
||||
SSL_CTX_set_cipher_list(ctx, "AES256-SHA");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user