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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user