summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2016-03-28 01:07:44 +0300
committerGuilhem Moulin <guilhem@fripost.org>2016-03-28 01:07:50 +0300
commitf81d8c68ba20100c13859ed522c41bed4f27d88b (patch)
tree776d43b0613a47c023f4cdbc1dc0338a39a0387d /certs
parent67689b1deb57def7c2512b59ad911bc94ae78aa3 (diff)
gencerts.sh: typo
Diffstat (limited to 'certs')
-rwxr-xr-xcerts/gencerts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/certs/gencerts.sh b/certs/gencerts.sh
index 9c25f6c..ac28eeb 100755
--- a/certs/gencerts.sh
+++ b/certs/gencerts.sh
@@ -36,7 +36,7 @@ x509fpr() {
sshfpr() {
local msg="$1" host t h fpr
host="${msg%%,*}"; host="${host%% *}"; host="${host#*@}"; host="${host#\`}"; host="${host%\`}"
- [ "$typ" = mdwn ] && { echo; echo " $msg"; echo; } || { echo " $msg" | tr -d '`'; }
+ [ "$typ" = mdwn ] && { echo; echo " $msg"; echo; } || { echo " $msg" | tr -d '`'; }
[ "${host#*:}" != 22 ] || host="${host%%:*}"
for h in MD5 SHA256; do
ssh-keygen -E "$h" -f "$DIR/../ssh_known_hosts" -lF "${host#*@}"