From: Viktor Dkhovni Date: Sun, 7 Sep 2014 22:22:33 +0000 (-0400) Subject: RT1325,2973: Add more extensions to c_rehash X-Git-Tag: master-post-reformat~411 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5a8addc432503d99dba39474892b07345a619641;p=oweals%2Fopenssl.git RT1325,2973: Add more extensions to c_rehash Regexp was bracketed wrong. Reviewed-by: Tim Hudson --- 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) {