mirror of
https://github.com/openssl/openssl.git
synced 2025-02-11 14:22:43 +08:00
PROV: Fix small logic error in ec_kmgmt.c matching function
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12544)
This commit is contained in:
parent
1202de4481
commit
86b5ab58aa
@ -299,7 +299,7 @@ static int ec_match(const void *keydata1, const void *keydata2, int selection)
|
||||
const EC_POINT *pa = EC_KEY_get0_public_key(ec1);
|
||||
const EC_POINT *pb = EC_KEY_get0_public_key(ec2);
|
||||
|
||||
ok = ok && EC_POINT_cmp(group_b, pa, pb, NULL);
|
||||
ok = ok && EC_POINT_cmp(group_b, pa, pb, NULL) == 0;
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user