]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
gnutls_pubkey_import_privkey: document that this operation is not possible in certain...
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 18 Dec 2015 12:56:31 +0000 (13:56 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 18 Dec 2015 13:42:57 +0000 (14:42 +0100)
lib/pubkey.c

index a2924300e4dfce085f10ac50a71abd8768770413..23b0625f5b7bdfbcdbdfa9473f36dd525110bf73 100644 (file)
@@ -227,6 +227,9 @@ gnutls_pubkey_import_x509_crq(gnutls_pubkey_t key, gnutls_x509_crq_t crq,
  * Imports the public key from a private.  This function will import
  * the given public key to the abstract #gnutls_pubkey_t type.
  *
+ * Note that in certain keys this operation may not be possible, e.g.,
+ * in other than RSA PKCS#11 keys.
+ *
  * Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
  *   negative error value.
  *