c_rehash: Fix file extension matching
authorTobias Girstmair <tobias.girstmair@tirol.gv.at>
Tue, 18 Oct 2022 11:23:21 +0000 (13:23 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 20 Oct 2022 09:26:17 +0000 (11:26 +0200)
commit706fc5f6ebd63e1fcd18d4764248206ab3c18a0a
tree611f496161941453b989572fc5ba10c681891f6f
parentf44d32fdfbd2a249dae74dc24478f31fca69d288
c_rehash: Fix file extension matching

For some reason, parenthesis were added 8 years ago in commit
a787c2590e468585a1a19738e0c7f481ec91b762. This essentially removed the
\. and $ constructs from the middle branches. Hence a file called e.g.
cert.key would accidentally match the (cer) rule.

CLA: trivial

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19427)
tools/c_rehash.in