1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-18 15:20:56 +03:00

crypto: add LIBSSH2_NO_HMAC_RIPEMD option

See also: 38015f4e46
See also: be31457f30

Ref: https://github.com/stribika/stribika.github.io/issues/46

Closes #965
This commit is contained in:
Viktor Szakats
2023-04-14 19:14:10 +00:00
parent 2efdb6747a
commit 146a25a06d

View File

@@ -57,6 +57,11 @@
#define LIBSSH2_MD5 0 #define LIBSSH2_MD5 0
#endif #endif
#ifdef LIBSSH2_NO_HMAC_RIPEMD
#undef LIBSSH2_HMAC_RIPEMD
#define LIBSSH2_HMAC_RIPEMD 0
#endif
#ifdef LIBSSH2_NO_DSA #ifdef LIBSSH2_NO_DSA
#undef LIBSSH2_DSA #undef LIBSSH2_DSA
#define LIBSSH2_DSA 0 #define LIBSSH2_DSA 0