(krb5_rd_priv): pick keys in the correct order: remote - local - session
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10092 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -65,12 +65,10 @@ krb5_rd_priv(krb5_context context,
|
|||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXX - Is this right? */
|
if (auth_context->remote_subkey)
|
||||||
|
|
||||||
if (auth_context->local_subkey)
|
|
||||||
key = auth_context->local_subkey;
|
|
||||||
else if (auth_context->remote_subkey)
|
|
||||||
key = auth_context->remote_subkey;
|
key = auth_context->remote_subkey;
|
||||||
|
else if (auth_context->local_subkey)
|
||||||
|
key = auth_context->local_subkey;
|
||||||
else
|
else
|
||||||
key = auth_context->keyblock;
|
key = auth_context->keyblock;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user