[pkg-opensc-commit] [libp11] 93/239: add fixes by Nils.
Eric Dorland
eric at moszumanska.debian.org
Sat Oct 17 06:21:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository libp11.
commit 63e26879f287131cec92f0276f6c8397f4351758
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date: Sun Dec 10 22:29:42 2006 +0000
add fixes by Nils.
---
src/pkcs11.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/pkcs11.h b/src/pkcs11.h
index 1686d8d..e61756f 100644
--- a/src/pkcs11.h
+++ b/src/pkcs11.h
@@ -86,7 +86,7 @@ extern "C" {
#endif
-#if CRYPTOKI_COMPAT
+#ifdef CRYPTOKI_COMPAT
/* If we are in compatibility mode, switch all exposed names to the
PKCS #11 variant. There are corresponding #undefs below. */
@@ -308,7 +308,7 @@ typedef unsigned long ck_object_class_t;
#define CKO_HW_FEATURE (5)
#define CKO_DOMAIN_PARAMETERS (6)
#define CKO_MECHANISM (7)
-#define CKO_VENDOR_DEFINED (unsigned long) (1 << 31))
+#define CKO_VENDOR_DEFINED ((unsigned long) (1 << 31))
typedef unsigned long ck_hw_feature_type_t;
@@ -1160,7 +1160,7 @@ struct ck_c_initialize_args
/* Compatibility layer. */
-#if CRYPTOKI_COMPAT
+#ifdef CRYPTOKI_COMPAT
#undef CK_DEFINE_FUNCTION
#define CK_DEFINE_FUNCTION(retval, name) retval CK_SPEC name
@@ -1329,4 +1329,4 @@ typedef struct ck_c_initialize_args *CK_C_INITIALIZE_ARGS_PTR;
}
#endif
-#endif /* PKCS11_H */
\ No newline at end of file
+#endif /* PKCS11_H */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git
More information about the pkg-opensc-commit
mailing list