summaryrefslogtreecommitdiff
path: root/trust/token.h
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-06-14 13:02:22 +0200
committerStef Walter <stef@thewalter.net>2013-06-14 13:32:04 +0200
commitbfe10cd0660fd81d78c8c5ce3eaa7d1f046859e1 (patch)
tree7c691c0a82eca27ce905bc448e6f51575b46dae8 /trust/token.h
parent045df29606ea9853b4fc8bdba062a5e4a7a5be95 (diff)
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.
Diffstat (limited to 'trust/token.h')
-rw-r--r--trust/token.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/trust/token.h b/trust/token.h
index d7375e7..49140bb 100644
--- a/trust/token.h
+++ b/trust/token.h
@@ -57,4 +57,6 @@ const char * p11_token_get_label (p11_token *token);
CK_SLOT_ID p11_token_get_slot (p11_token *token);
+bool p11_token_is_writable (p11_token *token);
+
#endif /* P11_TOKEN_H_ */