diff options
Diffstat (limited to 'core/crypto/crypto_core.cpp')
-rw-r--r-- | core/crypto/crypto_core.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/crypto/crypto_core.cpp b/core/crypto/crypto_core.cpp index 17b34c08e2..69a83284cc 100644 --- a/core/crypto/crypto_core.cpp +++ b/core/crypto/crypto_core.cpp @@ -39,6 +39,9 @@ #include <mbedtls/md5.h> #include <mbedtls/sha1.h> #include <mbedtls/sha256.h> +#if MBEDTLS_VERSION_MAJOR >= 3 +#include <mbedtls/compat-2.x.h> +#endif // RandomGenerator CryptoCore::RandomGenerator::RandomGenerator() { |