From 101808734212fd51d32b3b1dcfda4c4a3d8efd7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 30 May 2007 18:43:48 +0000 Subject: [PATCH] hook for testing secrety key algs git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20705 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hxtool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hx509/hxtool.c b/lib/hx509/hxtool.c index b91fb9592..6fa0b1417 100644 --- a/lib/hx509/hxtool.c +++ b/lib/hx509/hxtool.c @@ -1166,6 +1166,8 @@ crypto_select(struct crypto_select_options *opt, int argc, char **argv) type = HX509_SELECT_DIGEST; else if (strcmp(opt->type_string, "public-sig") == 0) type = HX509_SELECT_PUBLIC_SIG; + else if (strcmp(opt->type_string, "secret") == 0) + type = HX509_SELECT_SECRET_ENC; else errx(1, "unknown type: %s", opt->type_string); } else