Fix previous test.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19875 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -684,7 +684,7 @@ hx509_validate_cert(hx509_context context,
|
|||||||
"Proxy and have IAN\n");
|
"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,
|
validate_print(ctx, HX509_VALIDATE_F_VALIDATE,
|
||||||
"NULL subject DN and doesn't have a SAN\n");
|
"NULL subject DN and doesn't have a SAN\n");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user