summaryrefslogtreecommitdiff
path: root/src/subcommands/mh/revoke-hostname
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-01-31 18:30:59 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2009-01-31 18:30:59 -0500
commitc700e9b0dcede303ed1f160ba51f564fd314d2e3 (patch)
tree579690c1cb9e9112aa2fe4924a1c570fee357dcf /src/subcommands/mh/revoke-hostname
parent7d4b4815db8ba2f6f984a18a90b50032cf9158ba (diff)
parent0d36aebed69b154903e158a4c0f5cc8707cf5168 (diff)
merging from jrollins
Diffstat (limited to 'src/subcommands/mh/revoke-hostname')
-rwxr-xr-xsrc/subcommands/mh/revoke-hostname6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/subcommands/mh/revoke-hostname b/src/subcommands/mh/revoke-hostname
index decac86..0a773a3 100755
--- a/src/subcommands/mh/revoke-hostname
+++ b/src/subcommands/mh/revoke-hostname
@@ -12,6 +12,8 @@
# revoke hostname user ID from host key
+revoke_hostname() {
+
local userID
local fingerprint
local tmpuidMatch
@@ -79,7 +81,7 @@ if echo "$revuidCommand" | \
# update the trustdb for the authentication keyring
gpg_authentication "--check-trustdb"
- show_server_key
+ show_key
echo
echo "NOTE: User ID revoked, but revocation not published."
@@ -87,3 +89,5 @@ if echo "$revuidCommand" | \
else
failure "Problem revoking user ID."
fi
+
+}