File openssl-1.0.0-c_rehash_accept_file_exts.patch of Package openssl.openSUSE_12.1_Update

Index: openssl-1.0.0e/tools/c_rehash.in
===================================================================
--- openssl-1.0.0e.orig/tools/c_rehash.in
+++ openssl-1.0.0e/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) {
openSUSE Build Service is sponsored by