gssapi/krb5: _gsskrb5_export_sec_context copy/paste error

80f3194a76
("gssapi/krb5/{export,import}_sec_context: make smaller tokens.")
stored the source principal when it should have stored the target
principal.

Change-Id: Ife6b137f9fe8f63cdb78b4212f74d502080ec2a2
This commit is contained in:
Jeffrey Altman
2022-01-14 23:01:30 -05:00
parent 4891d713fb
commit 9f3004bfd5

View File

@@ -195,7 +195,7 @@ _gsskrb5_export_sec_context(
}
if (ctx->target) {
kret = krb5_store_principal(sp, ctx->source);
kret = krb5_store_principal(sp, ctx->target);
if (kret) {
*minor_status = kret;
goto failure;