X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Fri, 28 Dec 2012 09:56:53 +0200 From: Eli Zaretskii Subject: Re: Openssl problems In-reply-to: X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-id: <83licimwxm.fsf@gnu.org> References: <1b2d3d9b-2d91-40b0-b816-0de2061ea1b2 AT googlegroups DOT com> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Thu, 27 Dec 2012 12:00:52 -0800 (PST) > From: dosusb AT googlemail DOT com > > openssl s_client -no_ssl2 -debug -host www.google.com -port 443 -state > WARNING: can't open config file: /dev/env/DJDIR/ssl/openssl.cnf > warning, not much extra random data, consider using the -rand option > > CONNECTED(00000006) > SSL_connect:before/connect initialization > SSL_connect:error in SSLv2/v3 write client hello A > write:errno=0 > > I do not understand why it does not find openssl.cnf, it is available and I do: > > set DJDIR=c:\djgpp > set DJGPP=c:\djgpp\djgpp.env No need to set DJDIR, it will be set automatically. Only set DJGPP. Do you actually have the c:\djgpp\djgpp.env file? If not, that's your problem: it should be there. Also, make sure you have c:\djgpp\ssl\openssl.cnf exactly in the place shown. Sorry, I don't know enough about Openssl and networking in DJGPP to help you with the rest of your problems.