mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-05-25 18:22:29 +03:00
tests: Move CHACHA20 define out of HAVE_DSA ifdef
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
parent
649a7490a6
commit
aa95eb1965
@ -310,8 +310,9 @@ static int torture_pkd_setup_ecdsa_521(void **state) {
|
|||||||
f(client, ecdsa_521_aes256_ctr, ciphercmd("aes256-ctr"), setup_ecdsa_521, teardown)
|
f(client, ecdsa_521_aes256_ctr, ciphercmd("aes256-ctr"), setup_ecdsa_521, teardown)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_DSA
|
|
||||||
#define CHACHA20 "chacha20-poly1305@openssh.com"
|
#define CHACHA20 "chacha20-poly1305@openssh.com"
|
||||||
|
|
||||||
|
#ifdef HAVE_DSA
|
||||||
#define PKDTESTS_CIPHER_OPENSSHONLY(f, client, ciphercmd) \
|
#define PKDTESTS_CIPHER_OPENSSHONLY(f, client, ciphercmd) \
|
||||||
/* Ciphers. */ \
|
/* Ciphers. */ \
|
||||||
f(client, rsa_aes192_cbc, ciphercmd("aes192-cbc"), setup_rsa, teardown) \
|
f(client, rsa_aes192_cbc, ciphercmd("aes192-cbc"), setup_rsa, teardown) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user