diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-15 03:11:52 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-17 16:55:18 +0200 |
commit | 6601055e9ee66eb415be66d8eaf67de447402c4b (patch) | |
tree | ebd99f1340b48abca841cc03721a12c439397b89 /tqca-tls.cpp | |
parent | c0c3393c7bca3d3e340b598825c84b90ee91949f (diff) | |
download | tqca-tls-6601055e9ee66eb415be66d8eaf67de447402c4b.tar.gz tqca-tls-6601055e9ee66eb415be66d8eaf67de447402c4b.zip |
Move the OpenSSL 0.97 test inside the source code
instead of using the hard-coded definition.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8906dfbea322cdb18e5cfe265dc92b40ec47770f)
Diffstat (limited to 'tqca-tls.cpp')
-rw-r--r-- | tqca-tls.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tqca-tls.cpp b/tqca-tls.cpp index df9eff1..e17f649 100644 --- a/tqca-tls.cpp +++ b/tqca-tls.cpp @@ -34,6 +34,10 @@ #include <openssl/err.h> #include <openssl/rand.h> +#if OPENSSL_VERSION_NUMBER >= 0x00907000 +#define OSSL_097 +#endif + #ifndef OSSL_097 #define NO_AES #endif |