rd_safe.c (krb5_rd_safe):
rd_priv.c (krb5_rd_priv): Use the remote_subkey first, since the mk_*
routines try to use their local_subkey first. Otherwise, the wrong
keys will get used if subkeys are used in both directions.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10415
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Feb 5 23:48:34 1998 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * rd_cred.c (krb5_rd_cred):
+ * rd_safe.c (krb5_rd_safe):
+ * rd_priv.c (krb5_rd_priv): Use the remote_subkey first, since the
+ mk_* routines try to use their local_subkey first.
+ Otherwise, the wrong keys will get used if subkeys are
+ used in both directions.
+
Fri Jan 2 21:21:29 1998 Tom Yu <tlyu@mit.edu>
* preauth.c (handle_sam_labels):
krb5_replay_data replaydata;
/* Get keyblock */
- if ((keyblock = auth_context->local_subkey) == NULL)
- if ((keyblock = auth_context->remote_subkey) == NULL)
+ if ((keyblock = auth_context->remote_subkey) == NULL)
+ if ((keyblock = auth_context->local_subkey) == NULL)
keyblock = auth_context->keyblock;
if (((auth_context->auth_context_flags & KRB5_AUTH_CONTEXT_RET_TIME) ||
krb5_replay_data replaydata;
/* Get keyblock */
- if ((keyblock = auth_context->local_subkey) == NULL)
- if ((keyblock = auth_context->remote_subkey) == NULL)
+ if ((keyblock = auth_context->remote_subkey) == NULL)
+ if ((keyblock = auth_context->local_subkey) == NULL)
keyblock = auth_context->keyblock;
if (((auth_context->auth_context_flags & KRB5_AUTH_CONTEXT_RET_TIME) ||
return KRB5_RC_REQUIRED;
/* Get keyblock */
- if ((keyblock = auth_context->local_subkey) == NULL)
- if ((keyblock = auth_context->remote_subkey) == NULL)
+ if ((keyblock = auth_context->remote_subkey) == NULL)
+ if ((keyblock = auth_context->local_subkey) == NULL)
keyblock = auth_context->keyblock;
{