1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00

crypto: add LIBSSH2_NO_DSA to disable DSA support

See also: be31457f30

Closes #942
This commit is contained in:
Viktor Szakats
2023-04-10 09:21:30 +00:00
parent 4f0f4bff5a
commit 38015f4e46

View File

@@ -63,6 +63,11 @@
#define LIBSSH2_MD5 0 #define LIBSSH2_MD5 0
#endif #endif
#ifdef LIBSSH2_NO_DSA
#undef LIBSSH2_DSA
#define LIBSSH2_DSA 0
#endif
#define LIBSSH2_ED25519_KEY_LEN 32 #define LIBSSH2_ED25519_KEY_LEN 32
#define LIBSSH2_ED25519_PRIVATE_KEY_LEN 64 #define LIBSSH2_ED25519_PRIVATE_KEY_LEN 64
#define LIBSSH2_ED25519_SIG_LEN 64 #define LIBSSH2_ED25519_SIG_LEN 64