]> git.pld-linux.org Git - packages/openssl.git/commitdiff
Added support for *.cer *.crt *.crl to c_rehash
authorNicolas Perrenoud <mrcage@users.noreply.github.com>
Thu, 4 Feb 2016 18:18:24 +0000 (19:18 +0100)
committerNicolas Perrenoud <mrcage@users.noreply.github.com>
Thu, 4 Feb 2016 18:18:24 +0000 (19:18 +0100)
This is aimed to keep the functionality in sync with OpenSSL 1.0.2

See https://www.openssl.org/docs/man1.0.2/apps/c_rehash.html

openssl-c_rehash.sh

index 75a774945cf75a4a35f96cc548199e8c1270a68f..0ea22637ee6dbce845a9e2caf62540aaaf5d0761 100644 (file)
@@ -140,7 +140,7 @@ hash_dir()
         fi
     done
 
-    ls -1 *.pem 2>/dev/null | while read FILE
+    ls -1 *.pem *.cer *.crt *.crl 2>/dev/null | while read FILE
     do
        check_file ${FILE}
         local FILE_TYPE=${?}
This page took 0.034903 seconds and 4 git commands to generate.