(eval_types): add jid if user gave one

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19863 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-12 08:53:25 +00:00
parent 1739d7acbe
commit dfc6e11891

View File

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