From dce9cb1dd3445cbfb516e3708c1cf3016b5af292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 28 Dec 2006 20:30:30 +0000 Subject: [PATCH] add hex git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19542 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hxtool-commands.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/hx509/hxtool-commands.in b/lib/hx509/hxtool-commands.in index 33191b812..3270e99a0 100644 --- a/lib/hx509/hxtool-commands.in +++ b/lib/hx509/hxtool-commands.in @@ -413,6 +413,18 @@ command = { min_args="0" help = "Print selected CMS type" } +command = { + option = { + long = "decode" + short = "d" + type = "flag" + help = "decode instead of encode" + } + name = "hex" + function = "hxtool_hex" + min_args="0" + help = "Encode input to hex" +} command = { name = "help" name = "?"