summaryrefslogtreecommitdiff
path: root/lib/pkcs11_secret.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-15 20:52:11 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-06-15 21:40:37 +0200
commit2e6fbad4423350f2357f05266e6a6f3dffcc27cf (patch)
treea17f81f08a10d65c77044b6b8178c67de95c09b1 /lib/pkcs11_secret.c
parent7f0fcc3395a01e5253dd251b300fa298283aabb6 (diff)
downloadgnutls-2e6fbad4423350f2357f05266e6a6f3dffcc27cf.tar.gz
define ck_bool_t to be compatible with PKCS #11 bool type.
Diffstat (limited to 'lib/pkcs11_secret.c')
-rw-r--r--lib/pkcs11_secret.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pkcs11_secret.c b/lib/pkcs11_secret.c
index 6ae355fca9..aab723ffce 100644
--- a/lib/pkcs11_secret.c
+++ b/lib/pkcs11_secret.c
@@ -58,7 +58,7 @@ gnutls_pkcs11_copy_secret_key (const char *token_url, gnutls_datum_t * key,
ck_object_class_t class = CKO_SECRET_KEY;
ck_object_handle_t obj;
ck_key_type_t keytype = CKK_GENERIC_SECRET;
- unsigned int tval = 1;
+ ck_bool_t tval = 1;
int a_val;
opaque id[16];