forked from wolfSSL/wolfssl
fix ecc sniffer testsuite build, proper keys
This commit is contained in:
@ -89,7 +89,7 @@ void client_test(void* args)
|
|||||||
SSL_CTX_set_default_passwd_cb(ctx, PasswordCallBack);
|
SSL_CTX_set_default_passwd_cb(ctx, PasswordCallBack);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CYASSL_SNIFFER) && !defined(HAVE_NTRU)
|
#if defined(CYASSL_SNIFFER) && !defined(HAVE_NTRU) && !defined(HAVE_ECC)
|
||||||
/* don't use EDH, can't sniff tmp keys */
|
/* don't use EDH, can't sniff tmp keys */
|
||||||
SSL_CTX_set_cipher_list(ctx, "AES256-SHA");
|
SSL_CTX_set_cipher_list(ctx, "AES256-SHA");
|
||||||
#endif
|
#endif
|
||||||
|
@ -63,7 +63,7 @@ void echoclient_test(void* args)
|
|||||||
load_buffer(ctx, caCert, CYASSL_CA);
|
load_buffer(ctx, caCert, CYASSL_CA);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CYASSL_SNIFFER) && !defined(HAVE_NTRU)
|
#if defined(CYASSL_SNIFFER) && !defined(HAVE_NTRU) && !defined(HAVE_ECC)
|
||||||
/* don't use EDH, can't sniff tmp keys */
|
/* don't use EDH, can't sniff tmp keys */
|
||||||
SSL_CTX_set_cipher_list(ctx, "AES256-SHA");
|
SSL_CTX_set_cipher_list(ctx, "AES256-SHA");
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user