summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-03-27 17:28:08 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-03-27 17:28:08 +0200
commitdd5044d1e1c560a56e338dcf995dbbcc6347e6f4 (patch)
tree293642d469e7c5c4cbbb5089f0ec3063a88f5feb
parent5e65a283a6fb8f05ae16a118264f35935c36ca24 (diff)
downloadgnutls-dd5044d1e1c560a56e338dcf995dbbcc6347e6f4.tar.gz
doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--lib/x509/pkcs12.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/x509/pkcs12.c b/lib/x509/pkcs12.c
index 1690be323f..2e52ee9c41 100644
--- a/lib/x509/pkcs12.c
+++ b/lib/x509/pkcs12.c
@@ -1411,7 +1411,8 @@ static int make_chain(gnutls_x509_crt_t ** chain, unsigned int *chain_len,
*
* This function parses a PKCS12 structure in @pkcs12 and extracts the
* private key, the corresponding certificate chain, any additional
- * certificates and a CRL.
+ * certificates and a CRL. The structures in @key, @chain @crl, and @extra_certs
+ * must not be initialized.
*
* The @extra_certs and @extra_certs_len parameters are optional
* and both may be set to %NULL. If either is non-%NULL, then both must