From dfc6e118911c611e00b5caf5139fae4bd7b2fac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 12 Jan 2007 08:53:25 +0000 Subject: [PATCH] (eval_types): add jid if user gave one git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19863 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hxtool.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/hx509/hxtool.c b/lib/hx509/hxtool.c index 48e1c49f2..143495955 100644 --- a/lib/hx509/hxtool.c +++ b/lib/hx509/hxtool.c @@ -1295,6 +1295,12 @@ eval_types(hx509_context context, hx509_err(context, ret, 1, "hx509_ca_tbs_add_san_hostname"); } + if (opt->jid_string) { + ret = hx509_ca_tbs_add_san_jid(context, tbs, opt->jid_string); + if (ret) + hx509_err(context, ret, 1, "hx509_ca_tbs_add_san_jid"); + } + return 0; }