summaryrefslogtreecommitdiff
path: root/src/p11tool.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-08-07 10:54:02 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-08-07 13:32:55 +0200
commitf633f0b5f9dd144226c3d53a115d9a8bea17f845 (patch)
treead318537f6f4f387fdb663e7c4dc7d7fb75b49ce /src/p11tool.c
parentd4be364b6186c2b1c612866964c0e00ab14baece (diff)
downloadgnutls-f633f0b5f9dd144226c3d53a115d9a8bea17f845.tar.gz
pkcs11: added new functions to query the object's flags
gnutls_pkcs11_obj_get_flags() allows obtaining an object's flags, and gnutls_pkcs11_flags_get_str() allows printing them.
Diffstat (limited to 'src/p11tool.c')
-rw-r--r--src/p11tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p11tool.c b/src/p11tool.c
index 5980d7f58b..93fe15153f 100644
--- a/src/p11tool.c
+++ b/src/p11tool.c
@@ -89,7 +89,7 @@ unsigned opt_to_flags(void)
GNUTLS_PKCS11_OBJ_FLAG_MARK_CA;
if (ENABLED_OPT(MARK_WRAP))
- flags |= GNUTLS_PKCS11_OBJ_FLAG_KEY_WRAP;
+ flags |= GNUTLS_PKCS11_OBJ_FLAG_MARK_KEY_WRAP;
if (ENABLED_OPT(LOGIN))
flags |= GNUTLS_PKCS11_OBJ_FLAG_LOGIN;