diff options
author | TANABE Hiroyasu <h@cosat.com> | 2014-08-30 17:56:31 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2014-08-31 00:36:09 -0400 |
commit | 80ec8d4e3ee212786dc3092b1c97305b871827f0 (patch) | |
tree | 3b3a48583a2cbf798a024366e5647fb203fbaa10 /tools/c_rehash.in | |
parent | 6019cdd327526beb25a4c31c1ef63e72f5f8a4b0 (diff) |
RT1325,2973: Add more extensions to c_rehash
Add .crt/.cer/.crl to the filenames parsed.
I also updated the podpage (since it didn't exist when
this ticket was first created, nor when it was re-created
seven years later).
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'tools/c_rehash.in')
-rw-r--r-- | tools/c_rehash.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/c_rehash.in b/tools/c_rehash.in index bfc4a69ed4..683b413df2 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$/} @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) { |