summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.