cURL / Mailing Lists / curl-library / Single Mail

curl-library

ssl problem

From: Andrés García <fandom_at_retemail.es>
Date: Thu, 22 May 2003 20:15:57 +0200

Hi,

I have found a strange problem with ssl that only happens
in some special circumstances.

The problem is that when I try to do perform a ssl transfer
it always fails the first time with error:

SSL: error:00000000:lib(0):func(0):reason(0)

which means no error, right?

But if I try to perform the transfer a second time it
works perfectly, no need to reconfigure it at all.

Tracking the bug I think it is in the seeding process,
when 'RAND_file_name' is invoked it returns
a file called 'c:\/.rnd', since that looked weird for a
file name I hardcoded it to be 'c:/.rnd', which seems
to have taken care of the error.

So, does that make sense?, and if it does, is it a
libcurl or an openssl problem?

Andres

-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
Received on 2003-05-22