diff options
author | Shiz <hi@shiz.me> | 2017-05-06 02:52:37 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-05-06 14:56:13 +0200 |
commit | 31f4e002d0f23414ec8d19a8f8656d2de01bbc20 (patch) | |
tree | 4dfce9491e6c99c91d667971eaebc9963e9bc39e /testing/bobcat/libressl-compatibility.patch | |
parent | c01724f27449aabc93e5231f10bcba5a7e9b06f2 (diff) | |
download | aports-31f4e002d0f23414ec8d19a8f8656d2de01bbc20.tar.bz2 aports-31f4e002d0f23414ec8d19a8f8656d2de01bbc20.tar.xz |
testing/bobcat: new aport
https://fbb-git.github.io/bobcat/
library of C++ classes and templates handling child processes, streams/sockets,
shared memory, config files, etc.
Diffstat (limited to 'testing/bobcat/libressl-compatibility.patch')
-rw-r--r-- | testing/bobcat/libressl-compatibility.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/bobcat/libressl-compatibility.patch b/testing/bobcat/libressl-compatibility.patch new file mode 100644 index 0000000000..970bcf62d0 --- /dev/null +++ b/testing/bobcat/libressl-compatibility.patch @@ -0,0 +1,33 @@ +--- a/diffiehellman/diffiehellman.ih ++++ b/diffiehellman/diffiehellman.ih +@@ -15,7 +15,7 @@ + using namespace std; + using namespace FBB; + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + + inline BN_GENCB *BN_GENCB_new() + { +--- a/digestbuf/digestbuf.ih ++++ b/digestbuf/digestbuf.ih +@@ -9,7 +9,7 @@ + + #include "../ohexstreambuf/ohexstreambuf" + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + inline EVP_MD_CTX *EVP_MD_CTX_new() + { + EVP_MD_CTX *ret = new EVP_MD_CTX; +--- a/hmacbuf/hmacbuf.ih ++++ b/hmacbuf/hmacbuf.ih +@@ -7,7 +7,7 @@ + #include <bobcat/exception> + #include "../ohexstreambuf/ohexstreambuf" + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + + inline HMAC_CTX *HMAC_CTX_new() + { |