Merge pull request #140

54b768c Another redundant secp256k1_fe_normalize (Pieter Wuille)
This commit is contained in:
Pieter Wuille 2014-12-06 18:17:08 +01:00
commit ad86bdf1f2
No known key found for this signature in database
GPG Key ID: 57896D2FF8F0B657
1 changed files with 0 additions and 1 deletions

View File

@ -301,7 +301,6 @@ static void secp256k1_gej_add_ge_var(secp256k1_gej_t *r, const secp256k1_gej_t *
secp256k1_fe_normalize(&u1); secp256k1_fe_normalize(&u1);
secp256k1_fe_normalize(&u2); secp256k1_fe_normalize(&u2);
if (secp256k1_fe_equal(&u1, &u2)) { if (secp256k1_fe_equal(&u1, &u2)) {
secp256k1_fe_normalize(&s1);
secp256k1_fe_normalize(&s2); secp256k1_fe_normalize(&s2);
if (secp256k1_fe_equal(&s1, &s2)) { if (secp256k1_fe_equal(&s1, &s2)) {
secp256k1_gej_double_var(r, a); secp256k1_gej_double_var(r, a);