changes for modified auth_context

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4156 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-12-07 15:43:18 +00:00
parent 776f33fe87
commit 259d89264a
13 changed files with 26 additions and 25 deletions

View File

@@ -61,10 +61,10 @@ krb5_mk_priv(krb5_context context,
/* XXX - Is this right? */
if (auth_context->local_subkey.keytype)
key = &auth_context->local_subkey;
else if (auth_context->remote_subkey.keytype)
key = &auth_context->remote_subkey;
if (auth_context->local_subkey->keytype)
key = auth_context->local_subkey;
else if (auth_context->remote_subkey->keytype)
key = auth_context->remote_subkey;
else
key = auth_context->keyblock;