diff options
author | Vita Batrla <vitezslav.batrla@oracle.com> | 2024-06-25 11:58:49 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-06-27 18:26:26 +0200 |
commit | 981d129a5609ee2e031367c34c67a9f61a5bfd66 (patch) | |
tree | f2ff6caa7bb8be95b3644f50302fbd5d44c5f466 /doc/man3/EVP_PKEY_ASN1_METHOD.pod | |
parent | Add a test for an empty NextProto message (diff) | |
download | openssl-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/EVP_PKEY_ASN1_METHOD.pod')
-rw-r--r-- | doc/man3/EVP_PKEY_ASN1_METHOD.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man3/EVP_PKEY_ASN1_METHOD.pod b/doc/man3/EVP_PKEY_ASN1_METHOD.pod index cc50d363da..637fd48010 100644 --- a/doc/man3/EVP_PKEY_ASN1_METHOD.pod +++ b/doc/man3/EVP_PKEY_ASN1_METHOD.pod @@ -393,7 +393,7 @@ This function is not thread safe, it's recommended to only use this when initializing the application. EVP_PKEY_asn1_free() frees an existing B<EVP_PKEY_ASN1_METHOD> pointed -by B<ameth>. +by B<ameth>. If the argument is NULL, nothing is done. EVP_PKEY_asn1_add0() adds B<ameth> to the user defined stack of methods unless another B<EVP_PKEY_ASN1_METHOD> with the same NID is |