diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-08-07 10:54:02 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-08-07 13:32:55 +0200 |
commit | f633f0b5f9dd144226c3d53a115d9a8bea17f845 (patch) | |
tree | ad318537f6f4f387fdb663e7c4dc7d7fb75b49ce /src/p11tool.c | |
parent | d4be364b6186c2b1c612866964c0e00ab14baece (diff) | |
download | gnutls-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.c | 2 |
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; |