BN_is_prime_fasttest_ex() goes into an infinite loop because of witness()'s return value

2008-07-10 Thread Yuliya Shulman
Hello! We've been successfully using openssl for a while on various platforms, but now have a problem with FreeBSD sparc 64. in BN_is_prime_fasttest_ex() calls witness(), which always returns 1 at the line line of the function, and that causes BN_is_prime_fasttest_ex() to go into an infinite

BN_is_prime_fasttest_ex() goes into an infinite loop because of witness()'s return value

2008-07-10 Thread Yuliya Shulman
Hello! We've been successfully using openssl for a while on various platforms, but now have a problem with FreeBSD sparc 64. in BN_is_prime_fasttest_ex() calls witness(), which always returns 1 at the line line of the function, and that causes BN_is_prime_fasttest_ex() to go into an infinite