Blame SOURCES/libfreerdp-core-fix-issue-436.patch

0c7016
From aa7b83ff1e97ac394f76b0968acc1d9f55a11d41 Mon Sep 17 00:00:00 2001
0c7016
From: =?UTF-8?q?Marc-Andr=C3=A9=20Moreau?= <marcandre.moreau@gmail.com>
0c7016
Date: Wed, 15 Feb 2012 16:33:51 -0500
0c7016
Subject: [PATCH] libfreerdp-core: fix issue #436
0c7016
0c7016
---
0c7016
 libfreerdp-core/crypto.c | 2 +-
0c7016
 1 file changed, 1 insertion(+), 1 deletion(-)
0c7016
0c7016
diff --git a/libfreerdp-core/crypto.c b/libfreerdp-core/crypto.c
0c7016
index b79ac7a..7b5c895 100644
0c7016
--- a/libfreerdp-core/crypto.c
0c7016
+++ b/libfreerdp-core/crypto.c
0c7016
@@ -443,7 +443,7 @@ char** crypto_cert_subject_alt_name(X509* xcert, int* count, int** lengths)
0c7016
 		{
0c7016
 			length = ASN1_STRING_to_UTF8(&string, subject_alt_name->d.dNSName);
0c7016
 			strings[*count] = (char*) string;
0c7016
-			*lengths[*count] = length;
0c7016
+			(*lengths)[*count] = length;
0c7016
 			(*count)++;
0c7016
 		}
0c7016
 	}
0c7016
-- 
0c7016
2.1.0
0c7016