RT1325,2973: Add more extensions to c_rehash

Regexp was bracketed wrong.

Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
Viktor Dkhovni 2014-09-07 18:22:33 -04:00 committed by Rich Salz
parent 2f32016bb9
commit 5a8addc432

View File

@ -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) {