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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo