Commit da7eadb593 for openssl.org

commit da7eadb59322b00b75e050d095f23efc4e37dcc4
Author: dannyward630 <djwarding888@gmail.com>
Date:   Thu Jun 18 19:42:34 2026 +0200

    Mention removed ERR macros in changelog

    Update the existing 4.0.0 changelog entry for the ERR state cleanup to list the removed ERR_FLAG_MARK, ERR_FLAG_CLEAR, and ERR_NUM_ERRORS macros.

    Fixes #31056

    CLA: trivial

    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
    Reviewed-by: Paul Dale <paul.dale@oracle.com>
    Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
    MergeDate: Thu Jun 25 16:37:57 2026
    (Merged from https://github.com/openssl/openssl/pull/31598)

diff --git a/CHANGES.md b/CHANGES.md
index 671e700a72..ea505a94e5 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -1273,7 +1273,9 @@ OpenSSL 4.0
    *Tomáš Mráz*

  * Removed deprecated functions `ERR_get_state()`, `ERR_remove_state()`
-   and `ERR_remove_thread_state()`. The `ERR_STATE` object is now always opaque.
+   and `ERR_remove_thread_state()`, as well as the `ERR_FLAG_MARK`,
+   `ERR_FLAG_CLEAR` and `ERR_NUM_ERRORS` macros. The `ERR_STATE` object is now
+   always opaque.
    <!-- https://github.com/openssl/openssl/pull/30005 -->

    *Tomáš Mráz*