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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user