From b1e9cc320ba129804b4b32ad9bc116d48205fa60 Mon Sep 17 00:00:00 2001 From: Anthony Hu Date: Fri, 26 Aug 2022 14:27:27 -0400 Subject: [PATCH] Add documentation telling the user not to modify a buffer. --- doc/dox_comments/header_files/asn_public.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/dox_comments/header_files/asn_public.h b/doc/dox_comments/header_files/asn_public.h index 24e1a6c52..2ee9b95f7 100644 --- a/doc/dox_comments/header_files/asn_public.h +++ b/doc/dox_comments/header_files/asn_public.h @@ -2047,6 +2047,10 @@ time_t wc_Time(time_t* t); \ingroup ASN \brief This function injects a custom extension in to an X.509 certificate. + note: The content at the address pointed to by any of the parameters that + are pointers must not be modified until the certificate is generated + and you have the der output. This function does NOT copy the + contents to another buffer. \return 0 Returned on success. \return Other negative values on failure.