Addresses #59, ykcs11 still has issues on Win64.
This commit is contained in:
@@ -239,6 +239,9 @@ extern "C" {
|
||||
|
||||
#define __PASTE(x,y) x##y
|
||||
|
||||
#if defined _WIN32 || _WIN64
|
||||
#pragma pack(push, cryptoki, 1)
|
||||
#endif
|
||||
|
||||
/* packing defines */
|
||||
//#include "pkcs11p.h" // TODO: msc specific?
|
||||
@@ -309,6 +312,11 @@ struct CK_FUNCTION_LIST {
|
||||
/* unpack */
|
||||
//#include "pkcs11u.h" // TODO: msc specific?
|
||||
|
||||
#if defined _WIN32 || _WIN64
|
||||
#pragma pack(pop, cryptoki)
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user