diff options
Diffstat (limited to 'src/cryptinit.hpp')
-rw-r--r-- | src/cryptinit.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cryptinit.hpp b/src/cryptinit.hpp index f165c65..f8ac938 100644 --- a/src/cryptinit.hpp +++ b/src/cryptinit.hpp @@ -104,4 +104,17 @@ bool initLibGCrypt() #endif #endif +bool initCrypto() +{ +#ifndef NO_CRYPT +#ifndef USE_SSL_CRYPTO + return initLibGCrypt(); +#else + return true; +#endif +#else + return true; +#endif +} + #endif |