[openssl/openssl] 4d4a5d: Add a WebKit clang-format file

0 views
Skip to first unread message

Bob Beck

unread,
Dec 4, 2025, 11:44:38 AM (2 days ago) Dec 4
to openssl...@openssl.org
Branch: refs/heads/openssl-3.3
Home: https://github.com/openssl/openssl
Commit: 4d4a5d08058f139ebdccf3612af227ed2c55ca4c
https://github.com/openssl/openssl/commit/4d4a5d08058f139ebdccf3612af227ed2c55ca4c
Author: Bob Beck <be...@openssl.org>
Date: 2025-12-04 (Thu, 04 Dec 2025)

Changed paths:
A .clang-format

Log Message:
-----------
Add a WebKit clang-format file

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Tomas Mraz <to...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29257)


Commit: a518fb90f93447a94b5483bf5d0bc322d7e759be
https://github.com/openssl/openssl/commit/a518fb90f93447a94b5483bf5d0bc322d7e759be
Author: Bob Beck <be...@openssl.org>
Date: 2025-12-04 (Thu, 04 Dec 2025)

Changed paths:
M apps/progs.pl

Log Message:
-----------
Fix apps/progs.pl to be slightly less fragile

In particular fix the regex magic to be tolerant of different ways
of formatting a main program.

My past life had forgotten this magic 14 years ago when we converted
it to just a table of commands in the forks.

https://www.youtube.com/watch?v=mWbbjvYmN8A

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Tomas Mraz <to...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29257)


Commit: 64b6003ea7073f3f8dad4530b72b188640327c92
https://github.com/openssl/openssl/commit/64b6003ea7073f3f8dad4530b72b188640327c92
Author: Bob Beck <be...@openssl.org>
Date: 2025-12-04 (Thu, 04 Dec 2025)

Changed paths:
M test/errtest.c

Log Message:
-----------
fix errtest to be less sensitive to line wrapping changes

(in it's final form it will work with either compiler
because it's currently one line, but was tripped up before
by the #ifdef, so redid it to be consistent with the
other changes previously in this stack)

While I am here correct the test to test for all possible
return values of ERR_get_error_all, without the #ifdefs

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Tomas Mraz <to...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29257)


Commit: 6d2805682b42e550ef974a754fad73339ea2dd72
https://github.com/openssl/openssl/commit/6d2805682b42e550ef974a754fad73339ea2dd72
Author: Bob Beck <be...@openssl.org>
Date: 2025-12-04 (Thu, 04 Dec 2025)

Changed paths:
M test/cmp_ctx_test.c

Log Message:
-----------
Fix cmp_ctx_test.c to be less sensitive to line wrapping.

Similar to the previous errtest.c fix this also is not broken
by any reformatting today, but this change makes this follow
the same pattern as the other things that test OPENSSL_LINE
after the fact so we maintain the same paradigm everywhere.

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Tomas Mraz <to...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29257)


Commit: e5ec386d32a40b636159fb6a82ac0a6c457ed56c
https://github.com/openssl/openssl/commit/e5ec386d32a40b636159fb6a82ac0a6c457ed56c
Author: Bob Beck <be...@openssl.org>
Date: 2025-12-04 (Thu, 04 Dec 2025)

Changed paths:
M include/crypto/sparc_arch.h

Log Message:
-----------
Disable clang format around multi-line macros of sparc assembly

They are not asm, but spit out stuff that is not C

Clang-format gets confused and does bad things with them.

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Tomas Mraz <to...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29257)


Commit: 6041a00ad3c010bfdd133fa40a9b61ceb561ddaa
https://github.com/openssl/openssl/commit/6041a00ad3c010bfdd133fa40a9b61ceb561ddaa
Author: Bob Beck <be...@openssl.org>
Date: 2025-12-04 (Thu, 04 Dec 2025)

Changed paths:
M crypto/LPdir_win32.c
M crypto/LPdir_wince.c
M crypto/bn/asm/x86_64-gcc.c
M crypto/des/cbc_enc.c
M crypto/des/des_enc.c
M crypto/o_dir.c
M engines/e_afalg.c
M engines/e_capi.c
M engines/e_dasync.c
M engines/e_loader_attic.c
M engines/e_ossltest.c
M engines/e_padlock.c
M providers/implementations/macs/blake2b_mac.c
M providers/implementations/macs/blake2s_mac.c

Log Message:
-----------
Disable clang format around .c includes

we assume these to be order sensitive and not self contained, so
as per our new style we disable clang format around them.

we should consider renaming to .inc, or doing away with some
of these and just putting the code inline, but that's for
later consideration.

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Tomas Mraz <to...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29257)


Commit: dc505bfaa777101d4d62db6df7fd05a2bc95a370
https://github.com/openssl/openssl/commit/dc505bfaa777101d4d62db6df7fd05a2bc95a370
Author: Bob Beck <be...@openssl.org>
Date: 2025-12-04 (Thu, 04 Dec 2025)

Changed paths:
M apps/progs.pl

Log Message:
-----------
nits in progs.pl

Reviewed-by: Neil Horman <nho...@openssl.org>
Reviewed-by: Tomas Mraz <to...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/29257)


Compare: https://github.com/openssl/openssl/compare/1b3c6a0ecc72...dc505bfaa777

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages