Re: 2 is not prime?

2007-03-07 Thread Nils Larsch
Bill Colvin wrote: To add to the list: openssl version OpenSSL 0.9.7m-fips 23 Feb 2007 openssl prime 2 2 is not prime I've committed a patch [1] for this problem only in openssl = 0.9.8 Nils [1] http://cvs.openssl.org/chngview?cn=14780

RE: 2 is not prime?

2007-03-07 Thread Bill Colvin
Nils Larsch wrote: Bill Colvin wrote: openssl version OpenSSL 0.9.7m-fips 23 Feb 2007 openssl prime 2 2 is not prime I've committed a patch [1] for this problem only in openssl = 0.9.8 Nils [1] http://cvs.openssl.org/chngview?cn=14780 Unfortunately the patch does not work

Re: 2 is not prime?

2007-03-07 Thread Thomas J. Hruska
is correct in determining that 2 is a prime number, not that 2 is a prime number. StvB Any positive integer greater than one (1) that is divisible only by itself and one (1) is a prime number. That's a basic 3rd grade definition. Wikipedia and Wolfram's MathWorld have more elaborate definitions

Re: 2 is not prime?

2007-03-07 Thread Thomas J. Hruska
proven is that GMP is correct in determining that 2 is a prime number, not that 2 is a prime number. StvB Any positive integer greater than one (1) that is divisible only by itself and one (1) is a prime number. Oops. Forgot the word evenly. that is evenly divisible - i.e. no remainder

RE: 2 is not prime?

2007-03-06 Thread Richardson, Robert H
Just to add to the list below: OpenSSL version OpenSSL 0.9.8b 04 May 2006 OpenSSL prime 2 2 is prime Bob Richardson Allina Hospitals and Clinics Minneapolis MN -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Victor Duchovni Sent: Monday, March 05, 2007

RE: 2 is not prime?

2007-03-06 Thread Marek Marcola
Hello, Just to add to the list below: OpenSSL version OpenSSL 0.9.8b 04 May 2006 OpenSSL prime 2 2 is prime To be sure we should use another library: $ cat gmp5.c #include stdio.h #include gmp.h int main() { mpz_t t; int rc; mpz_init_set_str(t, 2, 10

Re: 2 is not prime?

2007-03-06 Thread Stephan V Bechtolsheim
is a prime number, not that 2 is a prime number. StvB __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl-users@openssl.org Automated List Manager

Re: 2 is not prime?

2007-03-06 Thread Marek Marcola
in determining that 2 is a prime number, not that 2 is a prime number. Explanation: that was a joke :-) Best regards, -- Marek Marcola [EMAIL PROTECTED] __ OpenSSL Project http://www.openssl.org User

Re: 2 is not prime?

2007-03-06 Thread John L. Ries
On Mon, 5 Mar 2007, [EMAIL PROTECTED] wrote: Hi, $ openssl version OpenSSL 0.9.7f 22 Mar 2005 $ openssl prime 2 2 is not prime But.. 2 is prime right? correct. but its the only even prime number - hence its an odd prime number! ;-) perhaps this fact/quirk is why its not known as prime

RE: 2 is not prime?

2007-03-06 Thread Bill Colvin
To add to the list: openssl version OpenSSL 0.9.7m-fips 23 Feb 2007 openssl prime 2 2 is not prime __ OpenSSL Project http://www.openssl.org User Support Mailing Listopenssl

2 is not prime?

2007-03-05 Thread Brandon Ooi
Hi, 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

Re: 2 is not prime?

2007-03-05 Thread Victor Duchovni
version OpenSSL 0.9.7f 22 Mar 2005 $ openssl prime 2 2 is not prime $ 0.9.6/bin/openssl version OpenSSL 0.9.6m 17 Mar 2004 $ 0.9.6/bin/openssl prime 2 openssl:Error: 'prime' is an invalid command. ... copious usage ... $ 0.9.7/bin/openssl version OpenSSL 0.9.7l 28 Sep

Re: 2 is not prime?

2007-03-05 Thread A . L . M . Buxey
Hi, $ openssl version OpenSSL 0.9.7f 22 Mar 2005 $ openssl prime 2 2 is not prime But.. 2 is prime right? correct. but its the only even prime number - hence its an odd prime number! ;-) perhaps this fact/quirk is why its not known as prime? alan

Re: 2 is not prime?

2007-03-05 Thread Keith Thompson
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

Re: 2 is not prime?

2007-03-05 Thread John Thingstad
this... $ openssl version OpenSSL 0.9.7f 22 Mar 2005 $ openssl prime 2 2 is not prime But.. 2 is prime right? Anyways, it's not a huge issue but this could be a bigger bug? Brandon __ OpenSSL Project http