aboutsummaryrefslogtreecommitdiffstats
path: root/community/mongodb-tools/libressl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mongodb-tools/libressl.patch')
-rw-r--r--community/mongodb-tools/libressl.patch13
1 files changed, 12 insertions, 1 deletions
diff --git a/community/mongodb-tools/libressl.patch b/community/mongodb-tools/libressl.patch
index 0afd28f98c..0663627567 100644
--- a/community/mongodb-tools/libressl.patch
+++ b/community/mongodb-tools/libressl.patch
@@ -18,4 +18,15 @@
import "C"
-const Version string = C.OPENSSL_VERSION_TEXT
-+const Version string = "LibreSSL 2.4.5"
++const Version string = "LibreSSL 2.5.5"
+--- mongo-tools-r3.4.7/vendor/src/github.com/spacemonkeygo/openssl/init_posix.go.orig
++++ mongo-tools-r3.4.7/vendor/src/github.com/spacemonkeygo/openssl/init_posix.go
+@@ -52,7 +52,7 @@
+ return rc;
+ }
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ void Goopenssl_thread_locking_callback(int mode, int n, const char *file,
+ int line) {
+ if (mode & CRYPTO_LOCK) {