PRNG not seeded on 0.9.8

2005-06-17 Thread GOTOU Yuuzou
Hi, OpenSSL 0.9.7 works with the following command. % env HOME=/ /usr/local/ssl097/bin/openssl genrsa 512 Generating RSA private key, 512 bit long modulus .. . unable to write 'random state' e is 65537 (0x10001) -BEGIN RSA PRIVATE KEY-

Re: ssl/kssl.c fails on NetBSD

2005-06-15 Thread GOTOU Yuuzou
In message [EMAIL PROTECTED], `GOTOU Yuuzou [EMAIL PROTECTED]' wrote: This error could be avoided if we read at least one standard header file before setting _XOPEN_SOURCE macro. -#include stdio.h #include openssl/opensslconf.h #define _XOPEN_SOURCE 500 /* glibc2 needs this to declare

Re: ssl/kssl.c fails on NetBSD

2005-06-15 Thread GOTOU Yuuzou
In message [EMAIL PROTECTED], `Richard Levitte - VMS Whacker [EMAIL PROTECTED]' wrote: In message [EMAIL PROTECTED] on Wed, 15 Jun 2005 05:37:15 +0900 (JST), GOTOU Yuuzou [EMAIL PROTECTED] said: gotoyuzo Hi, gotoyuzo gotoyuzo Compilation of ssl/kssl.c fails on NetBSD 3.99.5. gotoyuzo

Re: crypt/des/dx86-out.s fails on NetBSD

2005-06-15 Thread GOTOU Yuuzou
Hi, In message [EMAIL PROTECTED], `Andy Polyakov [EMAIL PROTECTED]' wrote: Target: BSD-x86 Configured with: ... --target=i386--netbsdelf Apparently it fails to recognize your target as ELF. 1. Verify that you can build if you configure with './Configure BSD-x86-elf ...',

Re: crypt/des/dx86-out.s fails on NetBSD

2005-06-15 Thread GOTOU Yuuzou
In message [EMAIL PROTECTED], `Andy Polyakov [EMAIL PROTECTED]' wrote: 2. See ./config script line 663 and below and speculate why do you think it doesn't recognize your system as ELF? Maybe shared libraries reside in /shlib? Hmm, file(1) doesn't follow symlinks by default. How about

Re: ssl/kssl.c fails on NetBSD

2005-06-15 Thread GOTOU Yuuzou
In message [EMAIL PROTECTED], `Richard Levitte - VMS Whacker [EMAIL PROTECTED]' wrote: In message [EMAIL PROTECTED] on Wed, 15 Jun 2005 18:38:27 +0900 (JST), GOTOU Yuuzou [EMAIL PROTECTED] said: gotoyuzo It may be an issue of NetBSD, but #undef _XOPEN_SOURCE gotoyuzo seems a little wrong too

crypt/des/dx86-out.s fails on NetBSD

2005-06-14 Thread GOTOU Yuuzou
Hi, cyrpt/des/dx86-out.s makes some errors in build process. For now, I can only attach a summary of make report. Please let me know if you need more information. -- gotoyuzo % make report ... making all in crypto/des... gcc -I.. -I../.. -I../../include -DOPENSSL_THREADS -pthread

version in X509_REQ_print_ex

2005-05-31 Thread GOTOU Yuuzou
Hi, openssl req -text shows version like: Certificate Request: Data: Version: 0 (0x0) ... I guess it should be 1. -- gotoyuzo --- t_req.c~2005-05-16 19:10:58.0 +0900 +++ t_req.c 2005-06-01 06:27:14.0 +0900 @@ -117,7 +117,7 @@ int

verify problem in 0.9.8-beta2

2005-05-27 Thread GOTOU Yuuzou
Hi, I tried 0.9.8-beta2 and found X509_verify_cert doesn't reject expired certificates. I think the result of check_cert_time should be assined to ok. # check_crl_time in check_crl seems same. But I didn't test it. -- gotoyuzo --- openssl-0.9.8-beta2/crypto/x509/x509_vfy.c~ 2005-05-11