mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
1cdca8b5d9
- Remove IGNORE for LibreSSL - Add checks for LIBRESSL_VERSION_NUMBER PR: 217350 Approved by: Yuri Victorovich <yuri@rawbw.com> (maintainer) Obtained from: https://github.com/ricochet-im/ricochet/pull/529
12 lines
364 B
C++
12 lines
364 B
C++
--- src/main.cpp.orig 2016-11-04 22:05:33 UTC
|
|
+++ src/main.cpp
|
|
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
|
|
initTranslation();
|
|
|
|
/* Initialize OpenSSL's allocator */
|
|
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
|
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
|
CRYPTO_malloc_init();
|
|
#else
|
|
OPENSSL_malloc_init();
|