提交 5a8addc4 编写于 作者: V Viktor Dkhovni 提交者: Rich Salz

RT1325,2973: Add more extensions to c_rehash

Regexp was bracketed wrong.
Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 2f32016b
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册