summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-09-04 20:45:27 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-09-04 20:45:27 +0200
commit2f62ac4baec1bb7d3abd982549843f8c05487fdf (patch)
treec2d20bdbc489023ccc30d1bb9d6586f8986f98c1 /lib
parent95da5ec763e27e8c13cfa646f97c19c5f9c2604f (diff)
downloadgnutls-2f62ac4baec1bb7d3abd982549843f8c05487fdf.tar.gz
doc update
Diffstat (limited to 'lib')
-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 e450fad186..ef51a328b1 100644
--- a/lib/x509/x509_write.c
+++ b/lib/x509/x509_write.c
@@ -245,6 +245,9 @@ gnutls_x509_crt_set_key(gnutls_x509_crt_t crt, gnutls_x509_privkey_t key)
* the extensions from the given certificate request to the certificate.
* Only RSA keys are currently supported.
*
+ * Note that this function will only set the @crq if it is self
+ * signed and the signature is correct. See gnutls_x509_crq_sign2().
+ *
* Returns: On success, %GNUTLS_E_SUCCESS (0) is returned, otherwise a
* negative error value.
**/