[openssl-dev] openssl-1.0.1k - undeclared identifier [GishPuppy]

gmane.bl4 at gishpuppy.com gmane.bl4 at gishpuppy.com
Thu Jan 8 18:39:50 UTC 2015


Hello,

I try to buld openssl-1.0.1k with Visual Studio...

  PERL Configure VC-WIN32...
  ms\do_nasm
  NMAKE -f ms\ntdll.mak

 and have one error:

  .\crypto\cversion.c(80) : error C2065: 'cflags' : undeclared identifier


Simple patch:

diff U3 a/openssl-1.0.1k/crypto/cversion.c b/openssl-1.0.1k/crypto/cversion.c
--- a/openssl-1.0.1k/crypto/cversion.c	Thu Jan 08 08:00:56 2015
+++ b/openssl-1.0.1k/crypto/cversion.c	Thu Jan 08 10:16:03 2015
@@ -77,7 +77,7 @@
 	if (t == SSLEAY_CFLAGS)
 		{
 #ifdef CFLAGS
-		return(cflags);
+		return(CFLAGS);
 #else
 		return("compiler: information not available");
 #endif

Gishpuppy | To change the delivery settings for this email, click here: 
http://www.gishpuppy.com/cgi-bin/edit.py?email=gmane.bl4@gishpuppy.com


More information about the openssl-dev mailing list