Fix previous test.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19875 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-01-12 22:45:29 +00:00
parent 6efa69a5d3
commit f978746627

View File

@@ -684,7 +684,7 @@ hx509_validate_cert(hx509_context context,
"Proxy and have IAN\n");
}
if (hx509_name_is_null_p(subject) && status.haveSAN)
if (hx509_name_is_null_p(subject) && !status.haveSAN)
validate_print(ctx, HX509_VALIDATE_F_VALIDATE,
"NULL subject DN and doesn't have a SAN\n");