summaryrefslogtreecommitdiffstats
path: root/doc/man3/OCSP_REQUEST_new.pod
diff options
context:
space:
mode:
authorVita Batrla <vitezslav.batrla@oracle.com>2024-06-25 11:58:49 +0200
committerTomas Mraz <tomas@openssl.org>2024-06-27 18:26:26 +0200
commit981d129a5609ee2e031367c34c67a9f61a5bfd66 (patch)
treef2ff6caa7bb8be95b3644f50302fbd5d44c5f466 /doc/man3/OCSP_REQUEST_new.pod
parentAdd a test for an empty NextProto message (diff)
downloadopenssl-981d129a5609ee2e031367c34c67a9f61a5bfd66.tar.xz
openssl-981d129a5609ee2e031367c34c67a9f61a5bfd66.zip
docs: document that *_free(NULL) does nothing
Explicitly documents that *_free(NULL) does nothing. Fixes two cases where that wasn't true. Fixes #24675. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Sasa Nedvedicky <sashan@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24735)
Diffstat (limited to 'doc/man3/OCSP_REQUEST_new.pod')
-rw-r--r--doc/man3/OCSP_REQUEST_new.pod1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/man3/OCSP_REQUEST_new.pod b/doc/man3/OCSP_REQUEST_new.pod
index e34e591fe0..28779fb07d 100644
--- a/doc/man3/OCSP_REQUEST_new.pod
+++ b/doc/man3/OCSP_REQUEST_new.pod
@@ -29,6 +29,7 @@ OCSP_request_onereq_get0 - OCSP request functions
OCSP_REQUEST_new() allocates and returns an empty B<OCSP_REQUEST> structure.
OCSP_REQUEST_free() frees up the request structure B<req>.
+If the argument is NULL, nothing is done.
OCSP_request_add0_id() adds certificate ID B<cid> to B<req>. It returns
the B<OCSP_ONEREQ> structure added so an application can add additional