diff options
author | Sandino Araico Sanchez <sandino@sandino.net> | 2018-12-10 21:45:49 -0600 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-12-11 06:14:16 -0500 |
commit | 3e31e31dec46b35352f77d1f93dda3e57851023e (patch) | |
tree | 8d38352928d6f6aa01f7f6b7cc7b3a45cef64f5b /net-libs | |
parent | Add mupdf (diff) | |
download | libressl-3e31e31dec46b35352f77d1f93dda3e57851023e.tar.gz libressl-3e31e31dec46b35352f77d1f93dda3e57851023e.tar.bz2 libressl-3e31e31dec46b35352f77d1f93dda3e57851023e.zip |
net-libs/liboauth: libressl support in openssl-1.1 patch
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/liboauth/files/liboauth-1.0.3-openssl-1.1.patch | 2 |
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 |