mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-07 22:37:12 +02:00
https://fbb-git.github.io/bobcat/ library of C++ classes and templates handling child processes, streams/sockets, shared memory, config files, etc.
34 lines
932 B
Diff
34 lines
932 B
Diff
--- 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()
|
|
{
|