summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7f3c903)
Submitted by: David Heine <dlheine@suif.Stanford.EDU>
goto end;
if (!BN_set_word(ret, BN_is_bit_set(a, 0)))
{
goto end;
if (!BN_set_word(ret, BN_is_bit_set(a, 0)))
{
+ if (ret != in)
+ BN_free(ret);
return NULL;
}
bn_check_top(ret);
return NULL;
}
bn_check_top(ret);
goto end;
if (!BN_set_word(ret, BN_is_one(a)))
{
goto end;
if (!BN_set_word(ret, BN_is_one(a)))
{
+ if (ret != in)
+ BN_free(ret);
return NULL;
}
bn_check_top(ret);
return NULL;
}
bn_check_top(ret);