BN_is_prime_fasttest_ex() goes into an infinite loop because of witness()'s return value
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 loop.
We're using gcc version 3.4.6 [FreeBSD] 20060305 configured with:
FreeBSD/sparc64 system compiler; thread model: posix.
OpenSSL 0.9.7e-p1 25 Oct 2004