diff options
Diffstat (limited to 'src/crypto/CryptoHash.cpp')
-rw-r--r-- | src/crypto/CryptoHash.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/CryptoHash.cpp b/src/crypto/CryptoHash.cpp index 5c56a3a74..31c0c934e 100644 --- a/src/crypto/CryptoHash.cpp +++ b/src/crypto/CryptoHash.cpp @@ -19,6 +19,8 @@ #include <gcrypt.h> +#include "crypto/Crypto.h" + class CryptoHashPrivate { public: @@ -31,6 +33,8 @@ CryptoHash::CryptoHash(CryptoHash::Algorithm algo) { Q_D(CryptoHash); + Q_ASSERT(Crypto::initalized()); + int algoGcrypt; switch (algo) { |