[pkg-opensc-commit] [pkcs11-helper] 211/253: Fix windows build

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:39:20 UTC 2017


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

eric pushed a commit to branch master
in repository pkcs11-helper.

commit 540cdd410bbeeb3d93995de5af370654b2565dec
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Tue Oct 25 16:27:34 2011 +0000

    Fix windows build
---
 lib/_pkcs11h-crypto-cryptoapi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/_pkcs11h-crypto-cryptoapi.c b/lib/_pkcs11h-crypto-cryptoapi.c
index 24b057b..2270d1a 100644
--- a/lib/_pkcs11h-crypto-cryptoapi.c
+++ b/lib/_pkcs11h-crypto-cryptoapi.c
@@ -51,6 +51,7 @@
 
 #include "common.h"
 
+#include "_pkcs11h-sys.h"
 #include "_pkcs11h-crypto.h"
 
 #if defined(ENABLE_PKCS11H_ENGINE_CRYPTOAPI)
@@ -366,7 +367,7 @@ cleanup:
 	return issuer != FALSE;
 }
 
-static struct __crypto_cryptoapi_data_s s_cryptoapi_data = { NULL };
+static struct __crypto_cryptoapi_data_s s_cryptoapi_data;
 const pkcs11h_engine_crypto_t _g_pkcs11h_crypto_engine_cryptoapi = {
 	&s_cryptoapi_data,
 	__pkcs11h_crypto_cryptoapi_initialize,

-- 
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