Skip to content

src: fix dead code in RandomPrimeTraits

params->add and params->rem have already been allocated successfully at these points, and won't be deallocated by the calls to BN_bin2bn, so these branches are effectively dead. Instead, the return value of BN_bin2bn should be checked.

Merge request reports

Loading