From bfe10cd0660fd81d78c8c5ce3eaa7d1f046859e1 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 14 Jun 2013 13:02:22 +0200 Subject: trust: Correctly reflect the CK_TOKEN_INFO writability flags Correctly set the CKF_TOKEN_WRITE_PROTECTED flag for paths which we will be able to write to. --- common/compat.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') diff --git a/common/compat.h b/common/compat.h index 0f9677b..9127f95 100644 --- a/common/compat.h +++ b/common/compat.h @@ -103,6 +103,8 @@ char * strdup_path_mangle (const char *template); #define WIN32_LEAN_AND_MEAN 1 #include +#include + /* Oh ... my ... god */ #undef CreateMutex @@ -164,6 +166,7 @@ void p11_mmap_close (p11_mmap *map); #include #include #include +#include typedef pthread_mutex_t p11_mutex_t; -- cgit v1.1