1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

torture krb5.kdc.canon: Correct principal being checked in TEST_AS_REQ_SELF stage

We have already checked the client principal.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2018-09-03 10:41:10 +12:00
parent 9e1ba904d0
commit f7c409c4c8

View File

@ -2451,7 +2451,7 @@ static bool torture_krb5_as_req_canon(struct torture_context *tctx, const void *
krb5_free_unparsed_name(k5_context, got_principal_string);
torture_assert(tctx, krb5_principal_compare(k5_context,
my_creds.client, expected_principal),
my_creds.server, expected_principal),
assertion_message);
krb5_free_principal(k5_context, principal);