s/KRB5_PRINCIPAL_PARSE_MUST_REALM/KRB5_PRINCIPAL_PARSE_REQUIRE_REALM/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24233 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -206,14 +206,14 @@ test_princ(krb5_context context)
|
||||
free(princ_unparsed);
|
||||
|
||||
ret = krb5_parse_name_flags(context, princ_short,
|
||||
KRB5_PRINCIPAL_PARSE_MUST_REALM,
|
||||
KRB5_PRINCIPAL_PARSE_REQUIRE_REALM,
|
||||
&p2);
|
||||
if (!ret)
|
||||
krb5_err(context, 1, ret, "Should have failed to parse %s "
|
||||
"because it lacked a realm", princ_short);
|
||||
|
||||
ret = krb5_parse_name_flags(context, princ,
|
||||
KRB5_PRINCIPAL_PARSE_MUST_REALM,
|
||||
KRB5_PRINCIPAL_PARSE_REQUIRE_REALM,
|
||||
&p2);
|
||||
if (ret)
|
||||
krb5_err(context, 1, ret, "krb5_parse_name");
|
||||
|
Reference in New Issue
Block a user