Hi -
I just compiled OpenSSL 1.0.1g for Win32 using Visual Studio 2005; my 
application failed to link because of an unresolved external 
_check_winnt

In crypto/rand/rand_win.c, function readscreen, this line:
  if (GetVersion() < 0x80000000 && OPENSSL_isservice()>0)

was changed to
  if (check_winnt() && OPENSSL_isservice()>0)


And also in crypto/cryptlib.c, function OPENSSL_showfatal, this line:
    if (GetVersion() < 0x80000000 && OPENSSL_isservice() > 0)

was changed to
    if (check_winnt() && OPENSSL_isservice() > 0)


I can't seem to find where check_winnt() is declared/defined.  So, I 
just changed it back.  This seems to work for me, but I thought I 
should mention it for other users.

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

Reply via email to