1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-21 14:00:51 +03:00

crypto: add LIBSSH2_NO_MD5 to disable MD5 support

Closes #927
This commit is contained in:
Viktor Szakats
2023-04-03 12:10:47 +00:00
parent ad6aae302a
commit be31457f30

View File

@@ -58,6 +58,10 @@
#include "mbedtls.h" #include "mbedtls.h"
#endif #endif
#ifdef LIBSSH2_NO_MD5
#undef LIBSSH2_MD5
#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