[openssl/openssl] ab2c27: docs: document that *_free(NULL) does nothing

Vita Batrla noreply at github.com
Thu Jun 27 16:30:52 UTC 2024


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: ab2c276a45390823ac4f3a149b2465425cc31757
      https://github.com/openssl/openssl/commit/ab2c276a45390823ac4f3a149b2465425cc31757
  Author: Vita Batrla <vitezslav.batrla at oracle.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M crypto/context.c
    M doc/man3/ASN1_INTEGER_new.pod
    M doc/man3/ASYNC_WAIT_CTX_new.pod
    M doc/man3/BIO_ADDR.pod
    M doc/man3/BIO_ADDRINFO.pod
    M doc/man3/BIO_meth_new.pod
    M doc/man3/BN_generate_prime.pod
    M doc/man3/BUF_MEM_new.pod
    M doc/man3/COMP_CTX_new.pod
    M doc/man3/CRYPTO_THREAD_run_once.pod
    M doc/man3/CTLOG_STORE_new.pod
    M doc/man3/CTLOG_new.pod
    M doc/man3/CT_POLICY_EVAL_CTX_new.pod
    M doc/man3/DH_meth_new.pod
    M doc/man3/DSA_SIG_new.pod
    M doc/man3/DSA_meth_new.pod
    M doc/man3/ECDSA_SIG_new.pod
    M doc/man3/ENGINE_add.pod
    M doc/man3/EVP_ASYM_CIPHER_free.pod
    M doc/man3/EVP_CIPHER_meth_new.pod
    M doc/man3/EVP_DigestInit.pod
    M doc/man3/EVP_EncodeInit.pod
    M doc/man3/EVP_EncryptInit.pod
    M doc/man3/EVP_KEM_free.pod
    M doc/man3/EVP_KEYEXCH_free.pod
    M doc/man3/EVP_KEYMGMT.pod
    M doc/man3/EVP_MD_meth_new.pod
    M doc/man3/EVP_PKEY_ASN1_METHOD.pod
    M doc/man3/EVP_PKEY_meth_new.pod
    M doc/man3/EVP_SIGNATURE.pod
    M doc/man3/HMAC.pod
    M doc/man3/NCONF_new_ex.pod
    M doc/man3/OCSP_REQUEST_new.pod
    M doc/man3/OCSP_cert_to_id.pod
    M doc/man3/OCSP_response_status.pod
    M doc/man3/OPENSSL_LH_COMPFUNC.pod
    M doc/man3/OPENSSL_init_crypto.pod
    M doc/man3/OPENSSL_malloc.pod
    M doc/man3/OPENSSL_secure_malloc.pod
    M doc/man3/OSSL_CMP_CTX_new.pod
    M doc/man3/OSSL_CMP_SRV_CTX_new.pod
    M doc/man3/OSSL_DECODER.pod
    M doc/man3/OSSL_DECODER_CTX.pod
    M doc/man3/OSSL_ENCODER.pod
    M doc/man3/OSSL_ENCODER_CTX.pod
    M doc/man3/OSSL_ERR_STATE_save.pod
    M doc/man3/OSSL_HPKE_CTX_new.pod
    M doc/man3/OSSL_HTTP_REQ_CTX.pod
    M doc/man3/OSSL_LIB_CTX.pod
    M doc/man3/OSSL_PARAM_BLD.pod
    M doc/man3/OSSL_PARAM_dup.pod
    M doc/man3/OSSL_SELF_TEST_new.pod
    M doc/man3/OSSL_STORE_INFO.pod
    M doc/man3/OSSL_STORE_LOADER.pod
    M doc/man3/OSSL_STORE_SEARCH.pod
    M doc/man3/RSA_meth_new.pod
    M doc/man3/SCT_new.pod
    M doc/man3/TS_RESP_CTX_new.pod
    M doc/man3/X509_LOOKUP.pod
    M doc/man3/X509_LOOKUP_meth_new.pod
    M doc/man3/X509_STORE_new.pod
    M doc/man3/X509_dup.pod
    M doc/man3/X509_new.pod

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Sasa Nedvedicky <sashan at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24735)

(cherry picked from commit 981d129a5609ee2e031367c34c67a9f61a5bfd66)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list