Changeset 324
- Timestamp:
- 08/12/08 08:32:52 (3 months ago)
- Files:
-
- 1 modified
-
trunk/tools/make_hash_link.sh (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/make_hash_link.sh
r233 r324 53 53 for file in *; do 54 54 hash=`$OPENSSL x509 -inform pem -in $file -noout -hash 2> /dev/null` 55 if [ ! -z $hash]; then55 if [ ! -z "$hash" ]; then 56 56 is_ca=`$OPENSSL x509 -inform pem -in $file -noout -text | grep 'CA:TRUE'` 57 if [ ! -z $is_ca]; then57 if [ ! -z "$is_ca" ]; then 58 58 hash=$hash. 59 59 mk_link … … 62 62 fi 63 63 hash=`$OPENSSL x509 -inform der -in $file -noout -hash 2> /dev/null` 64 if [ ! -z $hash]; then64 if [ ! -z "$hash" ]; then 65 65 is_ca=`$OPENSSL x509 -inform der -in $file -noout -text | grep 'CA:TRUE'` 66 if [ ! -z $is_ca]; then66 if [ ! -z "$is_ca" ]; then 67 67 hash=$hash. 68 68 mk_link … … 71 71 fi 72 72 hash=`$OPENSSL crl -inform pem -in $file -noout -hash 2> /dev/null` 73 if [ ! -z $hash]; then73 if [ ! -z "$hash" ]; then 74 74 hash=$hash.r 75 75 mk_link … … 77 77 fi 78 78 hash=`$OPENSSL crl -inform der -in $file -noout -hash 2> /dev/null` 79 if [ ! -z $hash]; then79 if [ ! -z "$hash" ]; then 80 80 hash=$hash.r 81 81 mk_link
