fixes for ktentry.key changes
authorJohn Kohl <jtkohl@mit.edu>
Wed, 2 May 1990 15:47:12 +0000 (15:47 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 2 May 1990 15:47:12 +0000 (15:47 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@672 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/in_tkt_sky.c
src/lib/krb5/krb/rd_req_dec.c

index ad3a92ebeb1537390e34504ed54c09ee5821d247..b7ef26d78dd9b22243dbee9133fd4cc739cfa7d8 100644 (file)
@@ -74,7 +74,7 @@ OLDDECLARG(krb5_pointer, keyseed)
     if (arg->key)
        retval = krb5_copy_keyblock(arg->key, realkey);
     else
-       retval = krb5_copy_keyblock(kt_ent.key, realkey);
+       retval = krb5_copy_keyblock(&kt_ent.key, realkey);
     if (retval) {
        free((char *)realkey);
        cleanup();
index 34b97964fef7cd84c633bc6da28a19f247dd1ca3..e71bf31047bcaede0582bf5f2c3db4772b2489e5 100644 (file)
@@ -105,7 +105,7 @@ krb5_tkt_authent *tktauthent;
        retval = krb5_kt_get_entry(keytabid, req->ticket->server,
                                   req->ticket->skvno, &ktentry);
        (void) krb5_kt_close(keytabid);
-       tkt_key_real = *ktentry.key;
+       tkt_key_real = ktentry.key;
        tkt_key = &tkt_key_real;
        (void) krb5_kt_free_entry(&ktentry);
     }