Commit 3cef0d98aa for openssl.org

commit 3cef0d98aa9145bd5c9eda1cf39ae58b685d8742
Author: Milan Broz <gmazyland@gmail.com>
Date:   Mon Jan 26 09:27:40 2026 +0100

    Update CONTRIBUTING.md for clang-format style

    The old Perl tool no longer exists, mention clang-format
    and utilities.

    Fixes: https://github.com/openssl/project/issues/1770

    Signed-off-by: Milan Broz <gmazyland@gmail.com>

    Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
    Reviewed-by: Tomas Mraz <tomas@openssl.org>
    Reviewed-by: Saša NedvÄ›dický <sashan@openssl.org>
    MergeDate: Tue Feb  3 09:07:35 2026
    (Merged from https://github.com/openssl/openssl/pull/29755)

diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 09416095e6..5b28d8776a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -77,8 +77,13 @@ guidelines:

  4. Code provided should follow our [coding style] and [documentation policy]
     and compile without warnings.
-    There is a [Perl tool](util/check-format.pl) that helps
-    finding code formatting mistakes and other coding style nits.
+    Consistent formatting is enforced by using `clang-format` with configuration
+    stored in [.clang-format](.clang-format). OpenSSL uses `WebKit` style.
+    You can configure git pre-commit to automatically reformat your code with
+    [.pre-commit-config.yaml](.pre-commit-config.yaml) configuration.
+    There is also a [Perl tool](util/reformat-patches.sh) to help with
+    reformatting existing patches.
+
     Where `gcc` or `clang` is available, you should use the
     `--strict-warnings` `Configure` option.  OpenSSL compiles on many varied
     platforms: try to ensure you only use portable features.