Files
Nikolas Gauder 93d5616734 util/mkerr.pl: only replace the .ec suffix when naming the state file
When no state file is configured, mkerr.pl derives it from the config
file path with s/.ec/.txt/.  The unescaped, unanchored pattern replaces
the first occurrence of any character followed by "ec" anywhere
in the path.  Since the error headers are generated at build time,
mkerr.pl runs with -conf $(SRCDIR)/crypto/err/openssl.ec,
so an out-of-tree build whose relative source path contains a name
such as "projects" fails:

    Can't open ../pro.txtts/openssl/crypto/err/openssl.ec

Anchor the pattern to the ".ec" suffix.

Fixes: 52df25cf2e "make error tables const and separate header file"
Complements: 7a3fa58d9d "Generate the error headers and tables at build time"
Assisted-by: Claude:claude-opus-5-5
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Merge-date: Tue Oct 27 18:11:11 2026
Merged-from: https://github.com/openssl/openssl/pull/33389
2026-10-27 19:09:51 +01:00
..
2026-05-26 16:28:30 +02:00
2022-05-03 13:34:51 +01:00
2026-03-10 14:37:52 +00:00
2026-09-09 13:12:46 +00:00
2026-09-09 13:12:46 +00:00
2025-09-02 13:05:45 +00:00
2021-09-02 12:55:39 +10:00
2025-12-04 07:32:18 -05:00
2026-09-09 13:12:46 +00:00
2020-04-23 13:55:52 +01:00
2025-09-02 13:05:45 +00:00
2019-09-19 09:27:38 -04:00
2025-03-12 13:35:59 +00:00
2024-04-09 13:43:26 +02:00
2021-04-08 13:04:41 +01:00
2026-09-09 13:12:46 +00:00
2026-09-09 13:12:46 +00:00
2022-12-08 07:01:33 +01:00
2025-12-04 07:32:18 -05:00