Skip to content
Snippets Groups Projects
Commit 2354047b authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Check the OpenSSL version when checking for GOST algorithm support

parent cd17b58e
No related branches found
No related tags found
No related merge requests found
......@@ -35,13 +35,13 @@
#endif
// ECDSA support requires OpenSSL version >= 1.0.1
#if !defined(OPENSSL_NO_ECDSA) && OPENSSL_VERSION_NUMBER >= 0x10001000
#if !defined(OPENSSL_NO_ECDSA) && OPENSSL_VERSION_NUMBER >= 0x10001000L
#define KNOT_ENABLE_ECDSA 1
#else
#undef KNOT_ENABLE_ECDSA
#endif
#if !defined(OPENSSL_NO_GOST)
#if !defined(OPENSSL_NO_GOST) && OPENSSL_VERSION_NUMBER >= 0x1000001fL
#define KNOT_ENABLE_GOST 1
#else
#undef KNOT_ENABLE_GOST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment