Bug 1064636, follow up commit to fix Windows build bustage NSS_3_16_3_PLUS_BRANCH
authorKai Engert <kaie@kuix.de>
Tue, 23 Sep 2014 20:19:48 +0200 (2014-09-23)
branchNSS_3_16_3_PLUS_BRANCH
changeset 11267 a8f155ba285e228b345188fa82e7b9a2af2492ed
parent 11266 364e66e7f0835dbb15ced940c615dd6667f270d6
child 11268 0be4c7186abc701d9fbdfb008c93f4df25190ba6
push id485
push userkaie@kuix.de
push dateTue, 23 Sep 2014 18:28:01 +0000 (2014-09-23)
bugs1064636
Bug 1064636, follow up commit to fix Windows build bustage
lib/cryptohi/secvfy.c
--- a/lib/cryptohi/secvfy.c
+++ b/lib/cryptohi/secvfy.c
@@ -595,18 +595,18 @@ VFY_EndWithSignature(VFYContext *cx, SEC
 	}
 	break;
       case rsaKey:
       {
         SECItem digest;
         digest.data = final;
         digest.len = part;
 	if (sig) {
+	    SECOidTag hashid;
 	    PORT_Assert(cx->hashAlg != SEC_OID_UNKNOWN);
-	    SECOidTag hashid;
 	    rv = recoverPKCS1DigestInfo(cx->hashAlg, &hashid,
 					&cx->pkcs1RSADigestInfo,
 					&cx->pkcs1RSADigestInfoLen,
 					cx->key,
 					sig, cx->wincx);
 	    PORT_Assert(cx->hashAlg == hashid);
 	    if (rv != SECSuccess) {
 		return SECFailure;