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

(-)strongswan.svn/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	strongswan
4
PORTNAME=	strongswan
5
PORTVERSION=	5.6.2
5
PORTVERSION=	5.6.2
6
PORTREVISION=	1
6
CATEGORIES=	security
7
CATEGORIES=	security
7
MASTER_SITES=	http://download.strongswan.org/ \
8
MASTER_SITES=	http://download.strongswan.org/ \
8
		http://download2.strongswan.org/
9
		http://download2.strongswan.org/
(-)strongswan.svn/files/patch-src_libcharon_sa_ikev2_authenticators_pubkey_authenticator.c (+22 lines)
Line 0 Link Here
1
--- src/libcharon/sa/ikev2/authenticators/pubkey_authenticator.c.orig
2
+++ src/libcharon/sa/ikev2/authenticators/pubkey_authenticator.c
3
@@ -164,7 +164,7 @@ static array_t *select_signature_schemes(keymat_v2_t *keymat,
4
 			signature_scheme_t schemes[] = {
5
 				SIGN_RSA_EMSA_PKCS1_SHA2_384,
6
 				SIGN_RSA_EMSA_PKCS1_SHA2_256,
7
-			}, contained;
8
+			};
9
 			bool found;
10
 			int i, j;
11
 
12
@@ -174,8 +174,8 @@ static array_t *select_signature_schemes(keymat_v2_t *keymat,
13
 				found = FALSE;
14
 				for (j = 0; j < array_count(selected); j++)
15
 				{
16
-					array_get(selected, j, &contained);
17
-					if (scheme == contained)
18
+					array_get(selected, j, &config);
19
+					if (scheme == config->scheme)
20
 					{
21
 						found = TRUE;
22
 						break;

Return to bug 226404