Juan Lang : crypt32: Use the outer content' s signature algorithm rather than the public key's embedded algorithm.
Module: wine Branch: master Commit: e25b81fd9c7679a2bf7bfa632992855655767915 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e25b81fd9c7679a2bf7bfa6329... Author: Juan Lang <juan.lang(a)gmail.com> Date: Tue Jul 31 14:58:26 2007 -0700 crypt32: Use the outer content's signature algorithm rather than the public key's embedded algorithm. --- dlls/crypt32/cert.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/crypt32/cert.c b/dlls/crypt32/cert.c index 94859ca..de1d5e0 100644 --- a/dlls/crypt32/cert.c +++ b/dlls/crypt32/cert.c @@ -1352,7 +1352,7 @@ static BOOL CRYPT_VerifyCertSignatureFromPublicKeyInfo(HCRYPTPROV hCryptProv, ALG_ID pubKeyID, hashID; info = CryptFindOIDInfo(CRYPT_OID_INFO_OID_KEY, - pubKeyInfo->Algorithm.pszObjId, 0); + signedCert->SignatureAlgorithm.pszObjId, 0); if (!info || (info->dwGroupId != CRYPT_PUBKEY_ALG_OID_GROUP_ID && info->dwGroupId != CRYPT_SIGN_ALG_OID_GROUP_ID)) {
participants (1)
-
Alexandre Julliard