View | Details | Raw Unified | Return to bug 217350
Collapse All | Expand All

(-)net-im/ricochet/Makefile (-4 lines)
Lines 33-42 Link Here
33
33
34
.include <bsd.port.pre.mk>
34
.include <bsd.port.pre.mk>
35
35
36
.if ${SSL_DEFAULT:Mlibressl*}
37
IGNORE= Detected LibreSSL (missing RSA_get0_factors)
38
.endif
39
40
post-patch:
36
post-patch:
41
	@${REINPLACE_CMD} -E 's| -fsanitize=[a-z-]+| |g' \
37
	@${REINPLACE_CMD} -E 's| -fsanitize=[a-z-]+| |g' \
42
		${WRKSRC}/hardened.pri
38
		${WRKSRC}/hardened.pri
(-)net-im/ricochet/files/patch-src_main.cpp (+11 lines)
Line 0 Link Here
1
--- src/main.cpp.orig	2016-11-04 22:05:33 UTC
2
+++ src/main.cpp
3
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
4
     initTranslation();
5
 
6
     /* Initialize OpenSSL's allocator */
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
9
     CRYPTO_malloc_init();
10
 #else
11
     OPENSSL_malloc_init();
(-)net-im/ricochet/files/patch-src_utils_CryptoKey.cpp (+11 lines)
Line 0 Link Here
1
--- src/utils/CryptoKey.cpp.orig	2016-11-04 22:05:33 UTC
2
+++ src/utils/CryptoKey.cpp
3
@@ -39,7 +39,7 @@
4
 #include <openssl/bio.h>
5
 #include <openssl/pem.h>
6
 
7
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
8
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
9
 void RSA_get0_factors(const RSA *r, const BIGNUM **p, const BIGNUM **q)
10
 {
11
   *p = r->p;

Return to bug 217350