Bug 1064636, follow up commit to fix Windows build bustage
authorKai Engert <kaie@kuix.de>
Tue, 23 Sep 2014 19:39:40 +0200
changeset 11255 8dd6c6ac977d063dbd093f092ba46e50e9bcb80b
parent 11254 fb7208e91ae8e819b38a80480f816efb32fbfab3
child 11270 c7b01cd5e7b263c84ce8c1d104c584a1f064e65c
push id481
push userkaie@kuix.de
push dateTue, 23 Sep 2014 17:39:47 +0000
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;