mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Add missing patch files.
Reported by: sunpoet Pointy hat to: cy (me)
This commit is contained in:
parent
c77a184151
commit
7925108f45
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433967
@ -0,0 +1,20 @@
|
||||
--- plugins/preauth/pkinit/pkinit_crypto_openssl.c.orig 2016-12-01 22:31:25 UTC
|
||||
+++ plugins/preauth/pkinit/pkinit_crypto_openssl.c
|
||||
@@ -191,7 +191,7 @@ pkinit_pkcs11_code_to_text(int err);
|
||||
(*_x509_pp) = PKCS7_cert_from_signer_info(_p7,_si)
|
||||
#endif
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
|
||||
/* 1.1 standardizes constructor and destructor names, renaming
|
||||
* EVP_MD_CTX_{create,destroy} and deprecating ASN1_STRING_data. */
|
||||
@@ -3059,7 +3059,7 @@ cleanup:
|
||||
return retval;
|
||||
}
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
|
||||
/*
|
||||
* We need to decode DomainParameters from RFC 3279 section 2.3.3. We would
|
@ -0,0 +1,11 @@
|
||||
--- plugins/preauth/pkinit/pkinit_crypto_openssl.h.orig 2016-12-01 22:31:25 UTC
|
||||
+++ plugins/preauth/pkinit/pkinit_crypto_openssl.h
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <openssl/asn1.h>
|
||||
#include <openssl/pem.h>
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(OPENSSL_VERSION_NUMBER)
|
||||
#include <openssl/asn1t.h>
|
||||
#else
|
||||
#include <openssl/asn1_mac.h>
|
Loading…
Reference in New Issue
Block a user