From: Nikos Mavrogiannopoulos Date: Fri, 18 Dec 2015 12:56:31 +0000 (+0100) Subject: gnutls_pubkey_import_privkey: document that this operation is not possible in certain... X-Git-Tag: gnutls_3_5_0~465 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af02825492b671a30e131f4a4e21b261b03c8b6b;p=thirdparty%2Fgnutls.git gnutls_pubkey_import_privkey: document that this operation is not possible in certain keys --- diff --git a/lib/pubkey.c b/lib/pubkey.c index a2924300e4..23b0625f5b 100644 --- a/lib/pubkey.c +++ b/lib/pubkey.c @@ -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. *