From fcae6097022f1dd98b1462ac96c882cb60ac8737 Mon Sep 17 00:00:00 2001
From: Robert Story <rstory@localhost>
Date: Sat, 22 Dec 2012 18:11:49 -0500
Subject: [PATCH 13/25] NSS DANE keep compiler happy

---
 security/nss/lib/ssl/ssldane.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/security/nss/lib/ssl/ssldane.c b/security/nss/lib/ssl/ssldane.c
index 8b442d4..8555e8b 100644
--- a/security/nss/lib/ssl/ssldane.c
+++ b/security/nss/lib/ssl/ssldane.c
@@ -112,12 +112,13 @@ SECStatus SSL_DANECheck(void * pinarg, const char *hostname, int32_t port, CERTC
                  * Check that the TLSA cert matches one on the cert
                  * chain
                  */
+                CERTCertListNode *node;
                 CERTCertList *certList = 
                     CERT_GetCertChainFromCert(cert, PR_Now(), certUsageSSLCA);
                 if (!certList) {
                     break;
                 }
-                for (CERTCertListNode *node = CERT_LIST_HEAD(certList);
+                for (node = CERT_LIST_HEAD(certList);
                      !CERT_LIST_END(node, certList);
                      node = CERT_LIST_NEXT(node)) {
 
-- 
1.7.11.7

