summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorViktor Dkhovni <viktor@openssl.org>2014-09-08 00:22:33 +0200
committerRich Salz <rsalz@openssl.org>2014-09-08 00:24:15 +0200
commit5a8addc432503d99dba39474892b07345a619641 (patch)
treed1da8fc705a1c6c7828bc8fc75708631b30ad5cc /tools
parentmake update (diff)
downloadopenssl-5a8addc432503d99dba39474892b07345a619641.tar.xz
openssl-5a8addc432503d99dba39474892b07345a619641.zip
RT1325,2973: Add more extensions to c_rehash
Regexp was bracketed wrong. Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/c_rehash.in2
1 files changed, 1 insertions, 1 deletions
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) {