Re: 2 is not prime?

2007-03-07 Thread Thomas J. Hruska
Thomas J. Hruska wrote: Stephan V Bechtolsheim wrote: To be sure we should use another library: $ cat gmp5.c #include #include ... To be sure one needs to go back to the mathematical definition of what is a prime. To use a program as proof is really not a proof. What you have proven is th

Re: 2 is not prime?

2007-03-07 Thread Thomas J. Hruska
Stephan V Bechtolsheim wrote: To be sure we should use another library: $ cat gmp5.c #include #include ... To be sure one needs to go back to the mathematical definition of what is a prime. To use a program as proof is really not a proof. What you have proven is that GMP is correct in deter

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

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

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

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 Marek Marcola
Hello, > > To be sure we should use another library: > > $ cat gmp5.c > > #include > > #include > ... > To be sure one needs to go back to the mathematical definition of what is a > prime. > > To use a program as proof is really not a proof. What you have proven is that > GMP is correct in det

Re: 2 is not prime?

2007-03-06 Thread Stephan V Bechtolsheim
> To be sure we should use another library: > $ cat gmp5.c > #include > #include ... To be sure one needs to go back to the mathematical definition of what is a prime. To use a program as proof is really not a proof. What you have proven is that GMP is correct in determining that 2 is a prime

RE: 2 is not prime?

2007-03-06 Thread Marek Marcola
; [mailto:[EMAIL PROTECTED] On Behalf Of Victor Duchovni > Sent: Monday, March 05, 2007 4:24 PM > To: openssl-users@openssl.org > Subject: Re: 2 is not prime? > > On Mon, Mar 05, 2007 at 02:06:19PM -0800, Brandon Ooi wrote: > > > Hi, > > > > Sorry if this is a

RE: 2 is not prime?

2007-03-06 Thread Richardson, Robert H
rch 05, 2007 4:24 PM To: openssl-users@openssl.org Subject: Re: 2 is not prime? On Mon, Mar 05, 2007 at 02:06:19PM -0800, Brandon Ooi wrote: > 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

Re: 2 is not prime?

2007-03-05 Thread John Thingstad
found 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

Re: 2 is not prime?

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

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 kno

Re: 2 is not prime?

2007-03-05 Thread Victor Duchovni
s until I found this... > > $ openssl 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 ... $

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