Add language to support querying certificates to find a match. Support constructs like "1.3.6.1.5.2.3.5" IN %{certificate.eku} AND %{certificate.subject} TAILMATCH "C=SE"".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22677 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -72,13 +72,12 @@ test_name_fail(hx509_context context, const char *name)
|
||||
static int
|
||||
test_expand(hx509_context context, const char *name, const char *expected)
|
||||
{
|
||||
hx509_env env;
|
||||
hx509_env env = NULL;
|
||||
hx509_name n;
|
||||
char *s;
|
||||
int ret;
|
||||
|
||||
hx509_env_init(context, &env);
|
||||
hx509_env_add(context, env, "uid", "lha");
|
||||
hx509_env_add(context, &env, "uid", "lha");
|
||||
|
||||
ret = hx509_parse_name(context, name, &n);
|
||||
if (ret)
|
||||
|
Reference in New Issue
Block a user