net/freeradius3: Fix build issue with LibreSSL
- Add patch from upstream [1]
[1] e104c051b4
PR: 218225
Submitted by: dewayne@heuristicsystems.com.au
Approved by: zi (maintainer)
This commit is contained in:
parent
aa00a35a09
commit
da8a5343f5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443120
1 changed files with 14 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
--- ./src/main/tls.c.orig 2014-08-04 08:03:48.000000000 -0400
|
||||
+++ ./src/main/tls.c 2014-08-04 08:04:14.000000000 -0400
|
||||
@@ -63,8 +63,8 @@
|
||||
static libssl_defect_t libssl_defects[] =
|
||||
{
|
||||
--- src/main/tls.c.orig 2017-03-06 13:58:04 UTC
|
||||
+++ src/main/tls.c
|
||||
@@ -107,8 +107,8 @@ static libssl_defect_t libssl_defects[]
|
||||
.comment = "For more information see https://www.openssl.org/news/secadv/20160922.txt"
|
||||
},
|
||||
{
|
||||
- .low = 0x010001000, /* 1.0.1 */
|
||||
- .high = 0x01000106f, /* 1.0.1f */
|
||||
|
@ -11,3 +11,12 @@
|
|||
.id = "CVE-2014-0160",
|
||||
.name = "Heartbleed",
|
||||
.comment = "For more information see http://heartbleed.com"
|
||||
@@ -2131,7 +2131,7 @@ int cbtls_verify(int ok, X509_STORE_CTX
|
||||
}
|
||||
|
||||
if (lookup == 0) {
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
ext_list = X509_get0_extensions(client_cert);
|
||||
#else
|
||||
X509_CINF *client_inf;
|
||||
|
|
Loading…
Reference in a new issue