mirror of
https://github.com/libssh2/libssh2.git
synced 2026-10-24 03:48:58 +03:00
session_fixture: fix to skip AES-CBC/CTR tests if not supported or disabled
Closes #2507
This commit is contained in:
@@ -65,6 +65,16 @@ static char const *skip_crypt[] = {
|
||||
#if !LIBSSH2_3DES
|
||||
"3des-cbc",
|
||||
#endif
|
||||
#if !LIBSSH2_AES_CTR
|
||||
"aes128-ctr",
|
||||
"aes192-ctr",
|
||||
"aes256-ctr",
|
||||
#endif
|
||||
#if !LIBSSH2_AES_CBC
|
||||
"aes128-cbc",
|
||||
"aes192-cbc",
|
||||
"aes256-cbc",
|
||||
#endif
|
||||
#if !LIBSSH2_AES_GCM
|
||||
/* Support for AES-GCM hasn't been added to these back-ends yet */
|
||||
"aes128-gcm@openssh.com",
|
||||
|
||||
Reference in New Issue
Block a user