diff options
author | Bodo Möller <bodo@openssl.org> | 2005-03-09 19:08:02 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2005-03-09 19:08:02 +0000 |
commit | 80c808b90b79356c37ac41ee9bf748d39b4e53e3 (patch) | |
tree | c84c2c05cca16ad5c1c1cbe7489d3080d3aef2a8 /crypto/ec | |
parent | af1048c25c7c11eaf5f7b0b8d11ae34157348c5e (diff) |
Fix typo
PR: 1017
Submitted by: ciresh@yahoo.com
Reviewed by: Nils Larsch
Diffstat (limited to 'crypto/ec')
-rw-r--r-- | crypto/ec/ec_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_lib.c b/crypto/ec/ec_lib.c index ba5b821c9c..6abda2d448 100644 --- a/crypto/ec/ec_lib.c +++ b/crypto/ec/ec_lib.c @@ -512,7 +512,7 @@ int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx) !b->meth->group_get_curve(b, b1, b2, b3, ctx)) r = 1; - if (r || BN_cmp(a1, b2) || BN_cmp(a2, b2) || BN_cmp(a3, b3)) + if (r || BN_cmp(a1, b1) || BN_cmp(a2, b2) || BN_cmp(a3, b3)) r = 1; /* XXX EC_POINT_cmp() assumes that the methods are equal */ |