|
@@ -163,7 +163,7 @@ int rsa_verify_hash_ex(const unsigned char *sig, unsigned long siglen,
|
|
} else {
|
|
} else {
|
|
/* only check if the hash is equal */
|
|
/* only check if the hash is equal */
|
|
if ((hashlen == outlen) &&
|
|
if ((hashlen == outlen) &&
|
|
- (XMEMCMP(out, hash, hashlen) == 0)) {
|
|
|
|
|
|
+ (XMEM_NEQ(out, hash, hashlen) == 0)) {
|
|
*stat = 1;
|
|
*stat = 1;
|
|
}
|
|
}
|
|
}
|
|
}
|