diff options
author | Marc Vertes <mvertes@free.fr> | 2018-11-19 13:36:11 +0100 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-11-20 10:54:33 +0000 |
commit | e874913fd711265d1dd08af907ca655bd5b0e8c3 (patch) | |
tree | 8abe5ba376078487ba8edb5253407df85b1aa97a /community/mongodb-tools/fix-libressl.patch | |
parent | a53f5fcadef433d30abf5adcd0783dda6dc404ad (diff) | |
download | aports-e874913fd711265d1dd08af907ca655bd5b0e8c3.tar.bz2 aports-e874913fd711265d1dd08af907ca655bd5b0e8c3.tar.xz |
community/mongodb-tools: Upgrade to 4.04, switch to openssl, update contact
Diffstat (limited to 'community/mongodb-tools/fix-libressl.patch')
-rw-r--r-- | community/mongodb-tools/fix-libressl.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/community/mongodb-tools/fix-libressl.patch b/community/mongodb-tools/fix-libressl.patch deleted file mode 100644 index 18ad5c7ac7..0000000000 --- a/community/mongodb-tools/fix-libressl.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- mongo-tools-r4.0.0/vendor/src/github.com/10gen/openssl/cert.go.orig -+++ mongo-tools-r4.0.0/vendor/src/github.com/10gen/openssl/cert.go -@@ -277,8 +277,8 @@ - md = C.X_EVP_md_null() - case EVP_MD5: - md = C.X_EVP_md5() -- case EVP_SHA: -- md = C.X_EVP_sha() -+ //case EVP_SHA: -+ // md = C.X_EVP_sha() - case EVP_SHA1: - md = C.X_EVP_sha1() - case EVP_DSS: ---- mongo-tools-r4.0.0/vendor/src/github.com/10gen/openssl/shim.c.orig -+++ mongo-tools-r4.0.0/vendor/src/github.com/10gen/openssl/shim.c -@@ -47,7 +47,7 @@ - * v1.1.X and later implementation - ************************************************ - */ --#if OPENSSL_VERSION_NUMBER >= 0x1010000fL -+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER) - - void X_BIO_set_data(BIO* bio, void* data) { - BIO_set_data(bio, data); -@@ -174,7 +174,7 @@ - * v1.0.X implementation - ************************************************ - */ --#if OPENSSL_VERSION_NUMBER < 0x1010000fL -+#if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER) - - static int x_bio_create(BIO *b) { - b->shutdown = 1; -@@ -260,7 +260,8 @@ - } - - const EVP_MD *X_EVP_sha() { -- return EVP_sha(); -+ //return EVP_sha(); -+ return NULL; - } - - int X_EVP_CIPHER_CTX_encrypting(const EVP_CIPHER_CTX *ctx) { |