hook for testing secrety key algs

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20705 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-05-30 18:43:48 +00:00
parent 217f3d4680
commit 1018087342

View File

@@ -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