fix erroneous use of . rather than ->
authorJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 11:13:46 +0000 (11:13 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 11:13:46 +0000 (11:13 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1298 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/gc_via_tgt.c

index cbbe8b76a593b208378951eccaf9972e9202541e..fd02f982130d19bd4441c928db38518d3dffdfc3 100644 (file)
@@ -112,8 +112,8 @@ OLDDECLARG(krb5_creds *, cred)
        return retval;
 #undef cleanup
 #define cleanup() {\
-       bzero((char *)dec_rep->enc_part2->session.contents,\
-             dec_rep->enc_part2->session.length);\
+       bzero((char *)dec_rep->enc_part2->session->contents,\
+             dec_rep->enc_part2->session->length);\
                  krb5_free_kdc_rep(dec_rep); }
 
     /* now it's decrypted and ready for prime time */
@@ -128,8 +128,8 @@ OLDDECLARG(krb5_creds *, cred)
        cleanup();
        return retval;
     }
-    bzero((char *)dec_rep->enc_part2->session.contents,
-         dec_rep->enc_part2->session.length);
+    bzero((char *)dec_rep->enc_part2->session->contents,
+         dec_rep->enc_part2->session->length);
 
 #undef cleanup
 #define cleanup() {\