apps\pkcs8.c more bug

1999-01-16 Thread Nelson Alves da Silva Filho
I think I have found another bug in the apps\pkcs8.c. There are circumstances that the parameter "-outformat DER" is ignored and the output is always PEM. For example: openssl pkcs8 -inform DER -in key.pk8.der -outform DER -out key.der In fact the -outform parameter seems to be only processed

apps/x509.c minor flaw

1999-01-16 Thread Rene G. Eberhard
OpenSSL 0.9.5-dev 09 Aug 1999 Consider the following: Sign a PKCS#10 with apps/x509.c openssl x509 -CAserial serial.txt -CAkey RSA_1024_NONE.key.pem -CA RSA_RSA_1024_NONE.cert.pem -in req.pem -req In this case need_rand can be set to zero. But it is set to one in else if (strcmp(

linked failed with openssl-0.9.3

1999-01-16 Thread Henry Yang
Hi, All I have a linked problem with libcrypto.a the openssl-0.9.3 in Sun E250 , it complained about the object was missing in libcrypto.a: CC ./ngcKeytool.o2 ./source/Ckodesc.o2 ./source/Utils.o2 ./source/console.o2 .o Undefined first referenced symbol

Re: d2i_X509

1999-01-16 Thread Dr Stephen Henson
Daniel Lanz wrote: > > The d2i_X509() call, when given a DER-encoded cert, populates > the openssl internal X509 data structure. The public key for > this datastructure is stored within the X509 structure in > cert_info->key, which contains three elements, 'algor', > 'public_key', and 'pkey'. B

SSL 3.0 / 3.1 negotiation

1999-01-16 Thread Roland Mechler
This is actually something I came across with SSLeay 0.9.0b, but the relevant code for OpenSSL 0.9.1c appears to be the same. The server code, when using the v23 method, uses the version in the record containing the ClientHello for version negotiation rather than client_version in the ClientHello

d2i_X509

1999-01-16 Thread Daniel Lanz
The d2i_X509() call, when given a DER-encoded cert, populates the openssl internal X509 data structure. The public key for this datastructure is stored within the X509 structure in cert_info->key, which contains three elements, 'algor', 'public_key', and 'pkey'. But, when d2i_X509() is invoked,

apps\pkcs8.c possible bug

1999-01-16 Thread Nelson Alves da Silva Filho
I think I have found I minor bug in the apps\pkcs8.c. An error occurs whenever it is used with the "-topk8" and "-inform DER" parameters together. I think the -topk8 does not take care of the -inform parameter and always assumes a PEM input format. Example: openssl pkcs8 -inform DER -in key.d

Re: some bugs

1999-01-16 Thread Ben Laurie
Ulf Möller wrote: > > I posted a note about an error in the config file regarding Linux 1 > and a bug in rand/randfiles.c on Debian Linux a few days ago. Did > anybody notice, or should I send mail to some other address > ([EMAIL PROTECTED] or so)? I noticed. They're in my list... Cheers, Ben.

Re: some bugs

1999-01-16 Thread Ulf Möller
I posted a note about an error in the config file regarding Linux 1 and a bug in rand/randfiles.c on Debian Linux a few days ago. Did anybody notice, or should I send mail to some other address ([EMAIL PROTECTED] or so)? __ OpenSS

Re: openssl installation

1999-01-16 Thread Geoff Thorpe
Hi there, On Tue, 16 Nov 1999, Arnold Schoenberg wrote: > I am having trouble installing openssl 9.4 on a Sun Solaris - the > configuration information is: > SunOS cairo 5.6 Generic_105181-14 sun4u sparc SUNW,Ultra-2 > > This is the output of ./config -t Did you run ./config (without -t)? It

RE: openssl installation

1999-01-16 Thread Mike Testa
are you trying to install as "root" or as a lesser account? > -Original Message- > From: Arnold Schoenberg > Sent: Tuesday, November 16, 1999 10:53 AM > To: '[EMAIL PROTECTED]' > Cc: Shuping Ye; Mike Testa > Subject: openssl installation > > I am having trouble installing opens

openssl installation

1999-01-16 Thread Arnold Schoenberg
I am having trouble installing openssl 9.4 on a Sun Solaris - the configuration information is: SunOS cairo 5.6 Generic_105181-14 sun4u sparc SUNW,Ultra-2 This is the output of ./config -t Operating system: sun4u-sun-solaris2 Configuring for solaris-sparcv9-gcc /usr/bin/perl ./Configure solaris

RE: openssl installation

1999-01-16 Thread Shuping Ye
Does the error has anything to do with perl? > -Original Message- > From: Arnold Schoenberg > Sent: Tuesday, November 16, 1999 10:53 AM > To: '[EMAIL PROTECTED]' > Cc: Shuping Ye; Mike Testa > Subject: openssl installation > > I am having trouble installing openssl 9.4 on a Su

Re: verify_locations and Re: ssl_sess.c

1999-01-16 Thread Bodo Moeller
On Wed, Nov 17, 1999 at 12:40:55PM +, Geoff Thorpe wrote: >>> It seems that >>> everything works if you make the calls the way the authors had intended >>> rather than making the calls the way the authors made available. >> How can you