summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-18 09:24:18 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-18 09:24:42 +0100
commit34952c85dccc7ad8bb181fb89a83bc311fb2a2b8 (patch)
tree87b5a9b996cb552278a991deb0de016bdcc384a5
parent04e9240f8ef049f839e2d8fd7163e287d813e365 (diff)
downloadgnutls-34952c85dccc7ad8bb181fb89a83bc311fb2a2b8.tar.gz
doc update
-rw-r--r--lib/gnutls_pubkey.c2
-rw-r--r--lib/x509/x509_write.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/gnutls_pubkey.c b/lib/gnutls_pubkey.c
index bb4c1b029e..04e02d18bd 100644
--- a/lib/gnutls_pubkey.c
+++ b/lib/gnutls_pubkey.c
@@ -1692,7 +1692,7 @@ gnutls_pubkey_verify_hash2(gnutls_pubkey_t key,
* @ciphertext: contains the encrypted data
*
* This function will encrypt the given data, using the public
- * key.
+ * key. On success the @ciphertext will be allocated using gnutls_malloc().
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
* negative error value.
diff --git a/lib/x509/x509_write.c b/lib/x509/x509_write.c
index 8ba8fcac21..87cf733430 100644
--- a/lib/x509/x509_write.c
+++ b/lib/x509/x509_write.c
@@ -206,8 +206,7 @@ gnutls_x509_crt_set_version(gnutls_x509_crt_t crt, unsigned int version)
* @key: holds a private key
*
* This function will set the public parameters from the given
- * private key to the certificate. Only RSA keys are currently
- * supported.
+ * private key to the certificate.
*
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
* negative error value.