Fix CVE-2017-6891 in minitasn1 code
[platform/upstream/gnutls.git] / doc / functions / gnutls_x509_crt_set_crq
index bdbd801..7d5541d 100644 (file)
@@ -11,6 +11,9 @@ This function will set the name and public parameters as well as
 the extensions from the given certificate request to the certificate. 
 Only RSA keys are currently supported.
 
+Note that this function will only set the  @code{crq} if it is self
+signed and the signature is correct. See @code{gnutls_x509_crq_sign2()} .
+
 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
 negative error value.
 @end deftypefun