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

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