diff options
author | Felix Geyer <debfx@fobos.de> | 2015-05-09 20:47:53 +0300 |
---|---|---|
committer | Felix Geyer <debfx@fobos.de> | 2015-05-10 00:21:44 +0300 |
commit | a762cef0a93661fe6563c89da8f0cdfca713cdbb (patch) | |
tree | 9de727fe5dcb16eba41a7596390b81a2133e6ee9 /src/crypto/Crypto.h | |
parent | a7f4e2d0cddba53167dc4ae02a28a7971f4b4e2f (diff) |
Catch and handle all errors from libgcrypt.
Diffstat (limited to 'src/crypto/Crypto.h')
-rw-r--r-- | src/crypto/Crypto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crypto/Crypto.h b/src/crypto/Crypto.h index 9926f14b2..07f6454fe 100644 --- a/src/crypto/Crypto.h +++ b/src/crypto/Crypto.h @@ -34,6 +34,11 @@ private: Crypto(); static bool checkAlgorithms(); static bool selfTest(); + static void raiseError(const QString& str); + static bool testSha256(); + static bool testAes256(); + static bool testTwofish(); + static bool testSalsa20(); static bool m_initalized; static QString m_errorStr; |