Re: demos/ssl: serv.cpp + cli.cpp

2000-01-06 Thread Dr Stephen Henson
I got this going with some editing under Win98. This involved deleting the unknown includes, adding winsock.h, changing file extension to .c (it doesn't need any C++ stuff) and calling WSAStartup() right at the start. Oh and adding a #undef PKCS7_SIGNER_INFO to pkcs7.h... I thought I'd checked t

demos/ssl: serv.cpp + cli.cpp

2000-01-06 Thread Aibek Musaev
I am testing serv.cpp and cli.cpp examples from openssl-0.9.4 installation on my Windows NT 4.0 Workstation. SSL_accept() returns -1. When I run SSL_get_error(SSL *s,int ret_code) returns 2 (i.e., SSL_ERROR_WANT_READ). My question is this: has anybody tried using serv.cpp and cli.cpp? If they sh