summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTANABE Hiroyasu <h@cosat.com>2014-08-30 17:56:31 -0400
committerRich Salz <rsalz@openssl.org>2014-08-31 00:37:54 -0400
commit8475416fe7d72c373f3fa77d9d27d9f92342a6b8 (patch)
tree91ce61d15af24922db65706141d1a692478ae31b /tools
parent30b7d5e1d83a2f5cb862361c180f7ba1f31a20a5 (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> (cherry picked from commit 80ec8d4e3ee212786dc3092b1c97305b871827f0)
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 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) {