summaryrefslogtreecommitdiff
path: root/lib/pkcs11_privkey.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-28 14:20:36 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-28 14:20:38 +0200
commit7e2ba408f286b55581e2db6845af196407aa10ba (patch)
treef3fd7f5ac51f58ffd86c203a674930176165f14b /lib/pkcs11_privkey.c
parente951ba67d64e42b40e1c66c3d5f40a5392764c30 (diff)
downloadgnutls-7e2ba408f286b55581e2db6845af196407aa10ba.tar.gz
gnutls_pkcs11_privkey_generate3: doc update [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/pkcs11_privkey.c')
-rw-r--r--lib/pkcs11_privkey.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pkcs11_privkey.c b/lib/pkcs11_privkey.c
index bb58de4da9..34fe47a38c 100644
--- a/lib/pkcs11_privkey.c
+++ b/lib/pkcs11_privkey.c
@@ -872,6 +872,9 @@ _dsa_params_generate(struct ck_function_list *module, ck_session_handle_t sessio
* can be substituted in the place of the bits parameter using the
* GNUTLS_CURVE_TO_BITS() macro.
*
+ * It is highly recommended flags to contain %GNUTLS_PKCS11_OBJ_FLAG_MARK_SENSITIVE
+ * unless there is a strong reason not to.
+ *
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
* negative error value.
*