Googling "check_winnt" suggests openssl/e_os.h.
> From: Geoffrey Coram [mailto:gjco...@gmail.com] > Sent: Thursday, April 10, 2014 3:27 AM > > Thanks for the report. Is "check_winnt()" in the Windows libraries or > in OpenSSL? I tried Googling it, but didn't come up with anything, > and I didn't find a declaration in the OpenSSL source code. > > I do nmake -f ntlib.mak, which makes some static libraries for me, > using only code in crypto/ and ssl/ I suppose if check_winnt() is in > a different directory, that would be my problem (and my fault for not > re-running perl Configure). > > -Geoffrey > > On 04/09/2014 21:58, Steven Kneizys <sknei...@ferrilli.com> wrote: > > > > I just compiled 32 bit with "ntdll.mak" with "nasm 2.11.02" and > > Visual Studio Express 2013 with no issues, with and without the > > "DOPENSSL_NO_HEARTBEATS" option. I was making it to drop the keys > > files > > into Apache 2.2.26: > > openssl.exe > > ssleay32.dll > > libeay32.dll > > > > I am doing this to compile: > > perl Configure VC-WIN32 --prefix=C:\ApacheSoftware\Apache22\bin > > --openssldir=C:\ApacheSoftware\Apache22\conf > > ms\do_nasm > > nmake -f ms\ntdll.mak > > > > I know this is in the docs and such but so many people are working > > in this right now I just thought I'd post that it can work OK with a > > newer VS version. > > > > Steve... > > > > > > On Wed, Apr 9, 2014 at 9:36 PM, Geoffrey Coram <gjco...@gmail.com> > > wrote: > > > > > 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 firstname.lastname@example.org Automated List Manager majord...@openssl.org