Winsock.h file is included in dtls1.h, and also dtls1.h included in ssl.h,
without any conditions. This will make the project which use Windows socket
and openssl get a lot of compiling errors. Nowadays most people on Windows
use winsock2.h instead of winsock.h, by defining WIN32_MEAN_AND_LEAN, etc.
At least OpenSSL should check all those pre-definitions to decide whether
winsock.h or winsock2.h to be included or even none.

Kevin

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

Reply via email to