"Dave Thompson" <dthomp...@prinpay.com> wrote:

He could just do a: echo foo | openssl s_client -connect "uri.com:443" > cert.txt
This executes in 1 sec here.

What openssl build on what Windows?

The one from the Msys package [1]. Running on Win-XP SP3.
It has a special dependency as shown here:

cygcheck g:\MingW32\msys\bin\openssl.exe
G:\MingW32\msys\bin\openssl.exe
 g:\MingW32\msys\bin\msys-crypto-1.0.0.dll
   g:\MingW32\msys\bin\msys-1.0.dll
     f:\windows\system32\KERNEL32.dll
       f:\windows\system32\ntdll.dll
 g:\MingW32\msys\bin\msys-ssl-1.0.0.dll

(non-standard OpenSSL dll-names).

But this does give me an idea: the OP probably could install cygwin, and a cygwin build of openssl. cygwin tries to emulate Unix on Windows and select() is used commonly enough I expect it works. But cygwin is so big and complicated I don't bother with it myself, so I can't check.

Not so big and much less complicated than OpenSSL itself :-(
But msys is even smaller.

[1] Ref.
 
https://sourceforge.net/projects/mingw/files/MSYS/Extension/openssl/openssl-1.0.0-1/

--gv
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to