diff --git a/dlls/crypt32/cert.c b/dlls/crypt32/cert.c index cc9de4b813f..c9f31e3cc79 100644 --- a/dlls/crypt32/cert.c +++ b/dlls/crypt32/cert.c @@ -767,7 +767,7 @@ BOOL WINAPI CertCompareIntegerBlob(PCRYPT_INTEGER_BLOB pInt1, if (cb1 == cb2) { if (cb1) - ret = !memcmp(pInt1->pbData, pInt1->pbData, cb1); + ret = !memcmp(pInt1->pbData, pInt2->pbData, cb1); else ret = TRUE; }