xref: /minix3/crypto/external/bsd/openssl/dist/tools/c_hash (revision ebfedea0ce5bbe81e252ddf32d732e40fb633fae)
1*ebfedea0SLionel Sambuc#!/bin/sh
2*ebfedea0SLionel Sambuc# print out the hash values
3*ebfedea0SLionel Sambuc#
4*ebfedea0SLionel Sambuc
5*ebfedea0SLionel Sambucfor i in $*
6*ebfedea0SLionel Sambucdo
7*ebfedea0SLionel Sambuc	h=`openssl x509 -hash -noout -in $i`
8*ebfedea0SLionel Sambuc	echo "$h.0 => $i"
9*ebfedea0SLionel Sambucdone
10