On Mon 07-03-05 14:06, Brandon Ooi wrote: > Sorry if this is a dumb question but I couldn't find the openssl > bugzilla (or equivalent) to look for this. I was using openssl to check > primes and kept running into these weird issues until I found this... > > $ openssl version > OpenSSL 0.9.7f 22 Mar 2005 > $ openssl prime 2 > 2 is not prime > > But.. 2 is prime right?
Yes. > Anyways, it's not a huge issue but this could be a bigger bug? I don't know, but appears to have been fixed in 0.9.8b: $ for ver in 0.9.7m 0.9.8 0.9.8a 0.9.8b ; do > /usr/local/apps/openssl-$ver/bin/openssl version > /usr/local/apps/openssl-$ver/bin/openssl prime 2 > done OpenSSL 0.9.7m 23 Feb 2007 2 is not prime OpenSSL 0.9.8 05 Jul 2005 2 is not prime OpenSSL 0.9.8a 11 Oct 2005 2 is not prime OpenSSL 0.9.8b 04 May 2006 2 is prime $ -- Keith Thompson <[EMAIL PROTECTED]> San Diego Supercomputer Center <http://users.sdsc.edu/~kst/> 858-822-0853 "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister" ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]