diff options
author | Simon Rettberg | 2019-12-13 16:44:21 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-12-13 16:44:21 +0100 |
commit | d2770d24b6852f92926a39773eec83e08fa2ee88 (patch) | |
tree | 9db968a5484ba9e227b26d7d6ae7599cf81f44e3 | |
parent | libowfat >= 0.32 moves headers to libowfat/ subdir (diff) | |
download | ldadp-d2770d24b6852f92926a39773eec83e08fa2ee88.tar.gz ldadp-d2770d24b6852f92926a39773eec83e08fa2ee88.tar.xz ldadp-d2770d24b6852f92926a39773eec83e08fa2ee88.zip |
Compat hack for OpenSSL < 1.1.0
-rw-r--r-- | openssl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4,6 +4,10 @@ #include <openssl/conf.h> #include <openssl/x509v3.h> +#if OPENSSL_VERSION_NUMBER < 0x10100000L +#define ASN1_STRING_get0_data ASN1_STRING_data +#endif + static BOOL initDone = FALSE; static const EVP_MD *sha1 = NULL; |