[pkg-opensc-commit] [pkcs11-helper] 12/44: Fix some VC6 issues thanks to Justin Karneges

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:40:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to tag pkcs11-helper-1.06
in repository pkcs11-helper.

commit 775f16aee7253030fd66b1867673f816e156bdde
Author: alonbl <alonbl at 485eb718-1723-0410-b8a9-88cf21a28c35>
Date:   Sat Feb 2 09:11:38 2008 +0000

    Fix some VC6 issues thanks to Justin Karneges
---
 ChangeLog            | 3 +++
 lib/Makefile.w32-vc  | 2 +-
 lib/pkcs11h-crypto.c | 3 +++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0fbf31e..be1ba1a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@ Copyright (c) 2006 Alon Bar-Lev <alon.barlev at gmail.com>
 
 $Id$
 
+????-??-?? - Version 1.06
+ * Fix some VC6 issues thanks to Justin Karneges.
+
 2007-10-12 - Version 1.05
 
  * Export pkcs11h_logout().
diff --git a/lib/Makefile.w32-vc b/lib/Makefile.w32-vc
index b12021c..c576bfb 100644
--- a/lib/Makefile.w32-vc
+++ b/lib/Makefile.w32-vc
@@ -70,7 +70,7 @@ OPENSSL_CFLAGS=-I$(OPENSSL_HOME)/inc32 -DENABLE_PKCS11H_OPENSSL
 OPENSSL_LIBS=-LIBPATH:$(OPENSSL_HOME)\out32 user32.lib advapi32.lib $(OPENSSL_STATIC)
 !endif
 
-CFLAGS = -I../include $(OPENSSL_CFLAGS) -DWIN32 -DWIN32_LEAN_AND_MEAN -D_MBCS -D_CRT_SECURE_NO_DEPRECATE
+CFLAGS = -I../include $(OPENSSL_CFLAGS) -DWIN32 -DWIN32_LEAN_AND_MEAN -D_MBCS -D_CRT_SECURE_NO_DEPRECATE -D_WIN32_WINNT=0x0400
 CC=cl.exe
 CFLAGS=$(CFLAGS) /nologo /W3 /O2 $(CFLAGS) /FD /c
 CFLAGS=$(CFLAGS) /MD -DNDEBUG
diff --git a/lib/pkcs11h-crypto.c b/lib/pkcs11h-crypto.c
index 4c37aa7..da31d9e 100644
--- a/lib/pkcs11h-crypto.c
+++ b/lib/pkcs11h-crypto.c
@@ -78,6 +78,9 @@
 #if !defined(CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT)
 #define CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT	0x02
 #endif
+#if !defined(CERT_NAME_STR_REVERSE_FLAG)
+#define CERT_NAME_STR_REVERSE_FLAG		0x02000000
+#endif
 
 #endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/pkcs11-helper.git



More information about the pkg-opensc-commit mailing list