fix check for local/remote subkey

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4190 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-12-12 13:20:54 +00:00
parent 186b68a65c
commit 5c2bd01c25
2 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -68,9 +68,9 @@ krb5_rd_priv(krb5_context context,
/* XXX - Is this right? */
if (auth_context->local_subkey->keytype)
if (auth_context->local_subkey)
key = auth_context->local_subkey;
else if (auth_context->remote_subkey->keytype)
else if (auth_context->remote_subkey)
key = auth_context->remote_subkey;
else
key = auth_context->keyblock;