View | Details | Raw Unified | Return to bug 218225
Collapse All | Expand All

(-)net/freeradius3/files/patch-src__main__tls.c (-5 / +14 lines)
Lines 1-8 Link Here
1
--- ./src/main/tls.c.orig	2014-08-04 08:03:48.000000000 -0400
1
--- src/main/tls.c.orig	2017-03-06 13:58:04 UTC
2
+++ ./src/main/tls.c	2014-08-04 08:04:14.000000000 -0400
2
+++ src/main/tls.c
3
@@ -63,8 +63,8 @@
3
@@ -107,8 +107,8 @@ static libssl_defect_t libssl_defects[] 
4
 static libssl_defect_t libssl_defects[] =
4
 		.comment	= "For more information see https://www.openssl.org/news/secadv/20160922.txt"
5
 {
5
 	},
6
 	{
6
 	{
7
-		.low		= 0x010001000,		/* 1.0.1  */
7
-		.low		= 0x010001000,		/* 1.0.1  */
8
-		.high		= 0x01000106f,		/* 1.0.1f */
8
-		.high		= 0x01000106f,		/* 1.0.1f */
Lines 11-13 Link Here
11
 		.id		= "CVE-2014-0160",
11
 		.id		= "CVE-2014-0160",
12
 		.name		= "Heartbleed",
12
 		.name		= "Heartbleed",
13
 		.comment	= "For more information see http://heartbleed.com"
13
 		.comment	= "For more information see http://heartbleed.com"
14
@@ -2131,7 +2131,7 @@ int cbtls_verify(int ok, X509_STORE_CTX 
15
 	}
16
 
17
 	if (lookup == 0) {
18
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
19
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
20
 		ext_list = X509_get0_extensions(client_cert);
21
 #else
22
 		X509_CINF	*client_inf;

Return to bug 218225