Skip to content

Commit 62ca515

Browse files
czurniedensjaeckel
authored andcommitted
corrected C&P induced problem
1 parent 1af68f4 commit 62ca515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bn_mp_decr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ int mp_decr(mp_int *a)
3030
if (!IS_ZERO(a)) {
3131
a->sign = MP_NEG;
3232
}
33-
a->sign = MP_NEG;
33+
return MP_OKAY;
3434
} else if (a->dp[0] > 1uL) {
3535
a->dp[0]--;
3636
if (a->dp[0] == 0) {

0 commit comments

Comments
 (0)