summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-19 11:46:39 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-19 11:47:14 +0100
commitce2e4f0360df7e04430aa59b10dcfea3ae27830e (patch)
treee704acf9336d79ddd4db6c588ae4634d830ceb6d
parentef4681908047bae6d7a5e299aea5af7ef12712e6 (diff)
downloadgnutls-ce2e4f0360df7e04430aa59b10dcfea3ae27830e.tar.gz
doc update
-rw-r--r--lib/x509/x509_write.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/x509/x509_write.c b/lib/x509/x509_write.c
index 87cf733430..805c45ae5b 100644
--- a/lib/x509/x509_write.c
+++ b/lib/x509/x509_write.c
@@ -208,6 +208,9 @@ gnutls_x509_crt_set_version(gnutls_x509_crt_t crt, unsigned int version)
* This function will set the public parameters from the given
* private key to the certificate.
*
+ * To export the public key (i.e., the SubjectPublicKeyInfo part), check
+ * gnutls_pubkey_import_x509().
+ *
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
* negative error value.
*