|
Line 0
Link Here
|
|
|
1 |
--- lib/aftest.cpp.orig 2016-09-12 18:18:01 UTC |
| 2 |
+++ lib/aftest.cpp |
| 3 |
@@ -39,7 +39,7 @@ const char *tempdir = "/tmp/"; |
| 4 |
#endif |
| 5 |
|
| 6 |
/* Support OpenSSL before 1.1.0 */ |
| 7 |
-#if OPENSSL_VERSION_NUMBER < 0x10100000L |
| 8 |
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) |
| 9 |
#define EVP_MD_CTX_new EVP_MD_CTX_create |
| 10 |
#define EVP_MD_CTX_free EVP_MD_CTX_destroy |
| 11 |
#endif |