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:
nils 2006-12-10 13:33:34 +00:00
parent 9aa18ea1ce
commit f23ddbdba1
1 changed files with 4 additions and 4 deletions

View File

@ -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 */
#endif /* PKCS11_H */