aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/liboauth/files/liboauth-1.0.3-openssl-1.1.patch')
-rw-r--r--net-libs/liboauth/files/liboauth-1.0.3-openssl-1.1.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-libs/liboauth/files/liboauth-1.0.3-openssl-1.1.patch b/net-libs/liboauth/files/liboauth-1.0.3-openssl-1.1.patch
index f39747f..829bf4a 100644
--- a/net-libs/liboauth/files/liboauth-1.0.3-openssl-1.1.patch
+++ b/net-libs/liboauth/files/liboauth-1.0.3-openssl-1.1.patch
@@ -16,7 +16,7 @@ index 17ff5c8..551991f 100644
#include "oauth.h" // base64 encode fn's.
#include <openssl/hmac.h>
-+#if OPENSSL_VERSION_NUMBER < 0x10100000
++#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