Let BN_rand_range() abort with an error after 100 iterations