keep ntru example suites as ntru, even if sniffing

This commit is contained in:
Todd A Ouska 2011-06-06 10:47:03 -07:00
parent 004da8ff52
commit 0d9c2b6431
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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