X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.224.190.193 with SMTP id dj1mr53984122qab.6.1358191059513; Mon, 14 Jan 2013 11:17:39 -0800 (PST) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Date: Mon, 14 Jan 2013 11:17:39 -0800 (PST) Complaints-To: groups-abuse AT google DOT com Injection-Info: ho8g2000vbb.googlegroups.com; posting-host=78.43.252.60; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 NNTP-Posting-Host: 78.43.252.60 References: <1b2d3d9b-2d91-40b0-b816-0de2061ea1b2 AT googlegroups DOT com> <50F2DC47 DOT 2090901 AT gmx DOT de> <75830870-d8f3-43a0-93ac-6db428a11bcf AT googlegroups DOT com> <571d0f4c-0401-4164-ad8e-2b69db415887 AT googlegroups DOT com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0,gzip(gfe) Message-ID: <51bc7b1c-72dd-4c3f-a9cd-f7eae80fafb2@ho8g2000vbb.googlegroups.com> Subject: Re: Openssl problems From: Juan Manuel Guerrero Injection-Date: Mon, 14 Jan 2013 19:17:39 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 2822 Lines: 26 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On 13 Jan., 19:29, dos DOT DOT DOT AT googlemail DOT com wrote: > 1. I thought I had downloaded my previous version of OpenSSL from the DJGPP site but I guess I must have gotten it from some place else. > > I hope I have not confused the libssl.a/libcrypto.a files. The ones compiled on 22.09.2012 - 02.03 are for djdev203 and the ones compiled on 22.09.2012 - 02.04 are for djdev204, is this correct? > Yes, for all the ports I have upload I have used the time stamp to encode the version. The only exception to this rule was the watt32 port. Here you should pay attention not to use the 2.03 version when compiling an 2.04 application and vice versa. Better be save. > 3. I found that I can use the rand_seed command instead of noise.sys and thus run a openssl application in a Windows XP DOS box. See the example below. > > Yes, the command below does establish an SSL connection to Google: > openssl s_client -no_ssl2 -debug -hostwww.google.com-port 443 -state > > 4. I compiled the example below with your watt32 and libssl.a/libcrypto.a and it worked now. I was using a different libwatt.a before which did not work with your libssl.a version. These particular libraries should not be mixed. I have tried your sample code and it worked for my. It downloaded a sample page. Regards, Juan M. Guerrero