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:18 +0100
commit09d8d8a89f56cf63745b82834945fa33a1a7654e (patch)
tree42553da96e70447c30ebf7a11a4f180aa0f5d0b3
parentdf05e7c3fc1e8cf0e8b2b966a92d68d901971691 (diff)
downloadgnutls-09d8d8a89f56cf63745b82834945fa33a1a7654e.tar.gz
doc update
-rw-r--r--lib/pubkey.c2
-rw-r--r--lib/x509/x509_write.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/pubkey.c b/lib/pubkey.c
index ef95d1d6cf..a2924300e4 100644
--- a/lib/pubkey.c
+++ b/lib/pubkey.c
@@ -1688,7 +1688,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 7f6b2df4f6..eeeb128d9b 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.