From 5a8addc432503d99dba39474892b07345a619641 Mon Sep 17 00:00:00 2001 From: Viktor Dkhovni Date: Sun, 7 Sep 2014 18:22:33 -0400 Subject: [PATCH] RT1325,2973: Add more extensions to c_rehash Regexp was bracketed wrong. Reviewed-by: Tim Hudson --- tools/c_rehash.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/c_rehash.in b/tools/c_rehash.in index 683b413df2..0fa320be58 100644 --- a/tools/c_rehash.in +++ b/tools/c_rehash.in @@ -75,7 +75,7 @@ sub hash_dir { } } closedir DIR; - FILE: foreach $fname (grep {/\.(pem)|(crt)|(cer)|(crl)$/} @flist) { + FILE: foreach $fname (grep {/\.(pem|crt|cer|crl)$/} @flist) { # Check to see if certificates and/or CRLs present. my ($cert, $crl) = check_file($fname); if(!$cert && !$crl) { -- 2.34.1