void-packages/srcpkgs/mongo-tools/patches/libressl.patch

28 lines
778 B
Diff
Raw Normal View History

2017-01-17 15:55:58 +01:00
--- vendor/src/github.com/spacemonkeygo/openssl/version.go.orig
+++ vendor/src/github.com/spacemonkeygo/openssl/version.go
@@ -19,4 +19,4 @@
// #include <openssl/opensslv.h>
import "C"
-const Version string = C.OPENSSL_VERSION_TEXT
+const Version string = C.LIBRESSL_VERSION_TEXT
--- vendor/src/github.com/spacemonkeygo/openssl/cert.go.orig
+++ vendor/src/github.com/spacemonkeygo/openssl/cert.go
@@ -38,7 +38,6 @@
const (
EVP_NULL EVP_MD = iota
EVP_MD5 EVP_MD = iota
- EVP_SHA EVP_MD = iota
EVP_SHA1 EVP_MD = iota
EVP_DSS EVP_MD = iota
EVP_DSS1 EVP_MD = iota
@@ -277,8 +276,6 @@
md = C.EVP_md_null()
case EVP_MD5:
md = C.EVP_md5()
- case EVP_SHA:
- md = C.EVP_sha()
case EVP_SHA1:
md = C.EVP_sha1()
case EVP_DSS: