git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/sslcheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sslcheck b/bin/sslcheck
index 1cf13aa..ac3027b 100755
--- a/bin/sslcheck
+++ b/bin/sslcheck
@@ -85,4 +85,4 @@ if ! nc -zw3 "$TGTURL" "$TGTPORT"; then
fi
echo '' | "${sslbin}" s_client -connect "$TGTURL":"$TGTPORT" "${sslinitparms[@]}" 2>&1 |\
sed -n '/---BEGIN CERT/,/---END CERT/p' |\
- "${sslbin}" "${sslshowparms[@]}"|tr -s '\n'
+ "${sslbin}" "${sslshowparms[@]}"|tr -s '\n'|sed 's/^\([0-9a-f]\{8\}\)$/issuerHash=\1/'