11 lines
376 B
C++
11 lines
376 B
C++
--- lib/aftest.cpp.orig 2016-09-12 18:18:01 UTC
|
|
+++ lib/aftest.cpp
|
|
@@ -39,7 +39,7 @@ const char *tempdir = "/tmp/";
|
|
#endif
|
|
|
|
/* Support OpenSSL before 1.1.0 */
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
#define EVP_MD_CTX_new EVP_MD_CTX_create
|
|
#define EVP_MD_CTX_free EVP_MD_CTX_destroy
|
|
#endif
|