make it work with my compiler, add missing parenthesis
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3074 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
9aa18ea1ce
commit
f23ddbdba1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user