Re: Newbie question (with answer - long)

2005-03-31 Thread Jules Colding
On Fri, 2005-04-01 at 07:31 +0530, Denis wrote: > Don't you need to allocate some memory to be able to store the RSA key > in r_rsa? I assumed that would happen automatically due to the 'pointer-to- pointer' parameter. Best regards, jules BTW: Doing the following solved my problem: RSA *re

Re: compiling openssl with zlib support on win32

2005-03-31 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Fri, 1 Apr 2005 14:57:34 +1000, "Louis Solomon [SteelBytes]" <[EMAIL PROTECTED]> said: louis> > Hmm, I wouldn't be surprised if we've forgotten to unload the shared louis> > library for zlib, and thereby created that "leak". Note that the leak louis> > isn't ver

Re: Untrusted server

2005-03-31 Thread Bernhard Froehlich
Denis wrote: After doing a little reading, it looks like what I had in mind is not possible with SSL. In SSL the data sent by the server is encrypted using a symmetric key which is different for each session. Is there a protocol understood by web browsers where the server data is encrypted with

Re: compiling openssl with zlib support on win32

2005-03-31 Thread Louis Solomon [SteelBytes]
Hmm, I wouldn't be surprised if we've forgotten to unload the shared library for zlib, and thereby created that "leak". Note that the leak isn't very important, and a one-time thingy. It's not like it's going to grow over time. but are you sure? or is this just a guess. Louis Solomon www.SteelBy

Re: Untrusted server

2005-03-31 Thread Denis
After doing a little reading, it looks like what I had in mind is not possible with SSL. In SSL the data sent by the server is encrypted using a symmetric key which is different for each session. Is there a protocol understood by web browsers where the server data is encrypted with its (unchange

Re: Newbie question

2005-03-31 Thread Denis
Don't you need to allocate some memory to be able to store the RSA key in r_rsa? -- Denis. On 31 Mar 2005, at 16:33, Jules Colding wrote: RSA *r_rsa; __ OpenSSL Project http://www.openssl.org User

Re: How to get CRL in my application.

2005-03-31 Thread Beniamino Galvani
On Thu, Mar 31, 2005 at 08:13:19AM -0800, Calista wrote: > How do I extract the URL string from the CA > certificate? Also I see that there can be multiple DPs > in the CA certificate? Which function should I use to > extract them? See http://eaptls.spe.net/download/ppp-2.4.3-eaptls-0.7.patch in f

Re: Using Unix Domain Sockets?

2005-03-31 Thread Dr. Stephen Henson
On Wed, Mar 30, 2005, David Brock wrote: > I'm fairly new to openSSL so forgive me if this is a silly question. Is > it possible to create a Unix Domain Socket and then attach it to a BIO > (using BIO_set_fd)? I have tried to do it (for a server), but I keep > getting a failure when I call BIO_

RH9, rpm build error: file not found

2005-03-31 Thread blairelliott
I am attempting to use rpmbuild to make an openssl binary from the latest openssl release (openssl-0.9.7f) as of march 22, 2005. This seems to be my best option since I have an older version of openssl that was installed with RH9 as an RPM. The error I get is: RPM build error: File not found:

Re: [openssl-users] How to get CRL in my application.

2005-03-31 Thread Calista
Thanks Erwann. I wrote a test program in CURL to get the CRL using http. It worked. I have one more question though. How do I extract the URL string from the CA certificate? Also I see that there can be multiple DPs in the CA certificate? Which function should I use to extract them? I checked t

unreachable l code in OpenSSL 0.9.7f

2005-03-31 Thread prakash babu
Hello All,      I  find some unreachable codes in OpenSSL 0.9.7f .  Their details are as follows.   File:pk7_lib.cLine: 187break;p7->d.signed_and_enveloped->enc_data->content_type   =OBJ_nid2obj(NID_pkcs7_data); break; File  :  evp_enc.cLine : 250  default: return 0; break;

Re: Unreachable codes in OpenSSL 0.9.7f

2005-03-31 Thread Victor Duchovni
On Thu, Mar 31, 2005 at 06:56:36AM -0800, prakash babu wrote: > I find some unreachable codes in OpenSSL 0.9.7f. > Their details are as follows. > > File Name > Line No > Code Snippet > pk7_lib.c > 187 break; > p7->d.signed_and_enveloped->enc_data->content_typ

Unreachable codes in OpenSSL 0.9.7f

2005-03-31 Thread prakash babu
Hello All,      I  find some unreachable codes in OpenSSL 0.9.7f .  Their details are as follows.   File Name Line No Code Snippet pk7_lib.c 187 break;p7->d.signed_and_enveloped->enc_data->content_type   = OBJ_nid2obj(NID_pkcs7_da

Re: compiling openssl with zlib support on win32

2005-03-31 Thread Richard Levitte - VMS Whacker
In message <[EMAIL PROTECTED]> on Thu, 31 Mar 2005 21:07:28 +1000, "Louis Solomon [SteelBytes]" <[EMAIL PROTECTED]> said: louis> I then stick zlib1.dll in the out32 folder, and run louis> ssltest -zlib louis> and I get the following output louis> TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-S

compiling openssl with zlib support on win32

2005-03-31 Thread Louis Solomon [SteelBytes]
Hi, I'm trying to compile openssl (0.9.7f) with zlib (1.2.2) support using VisualStudio 2003. Here's what I am doing ... add -DZLIB to end of $cflags in utils\pl\vc-32.pl then from a VisualC++ command shell: cd base_of_openssl_source set path=%path%;c:\cygwin\bin (this is for the per

Newbie question

2005-03-31 Thread Jules Colding
Hi, I am trying to create RSA public and private keys on Windows with OpenSSL 0.9.7e. I want to save both to disk for later use, but I can't figure out how to read them again... I am doing the following: CUT rsa = RSA_generate_key(RSA_KEY_LENGTH, RSA_F4, NULL, (char *