# HG changeset patch
# User Kai Engert <kaie@kuix.de>
# Date 1411493980 -7200
# Node ID 8dd6c6ac977d063dbd093f092ba46e50e9bcb80b
# Parent fb7208e91ae8e819b38a80480f816efb32fbfab3
Bug 1064636, follow up commit to fix Windows build bustage
diff --git a/lib/cryptohi/secvfy.c b/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;