From d2770d24b6852f92926a39773eec83e08fa2ee88 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 13 Dec 2019 16:44:21 +0100 Subject: Compat hack for OpenSSL < 1.1.0 --- openssl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openssl.c b/openssl.c index 7611c0c..bc49eb8 100644 --- a/openssl.c +++ b/openssl.c @@ -4,6 +4,10 @@ #include #include +#if OPENSSL_VERSION_NUMBER < 0x10100000L +#define ASN1_STRING_get0_data ASN1_STRING_data +#endif + static BOOL initDone = FALSE; static const EVP_MD *sha1 = NULL; -- cgit v1.2.3-55-g7522