diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-12-18 13:56:31 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-12-18 14:42:57 +0100 |
commit | af02825492b671a30e131f4a4e21b261b03c8b6b (patch) | |
tree | de624231a5bf6e4996e77740d58fa0166ad3f8ff /lib/pubkey.c | |
parent | 5a27aaf40fcefd4654ccc78044e59dbeaf028760 (diff) | |
download | gnutls-af02825492b671a30e131f4a4e21b261b03c8b6b.tar.gz |
gnutls_pubkey_import_privkey: document that this operation is not possible in certain keys
Diffstat (limited to 'lib/pubkey.c')
-rw-r--r-- | lib/pubkey.c | 3 |
1 files changed, 3 insertions, 0 deletions
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. * |