fix const ptr
authorJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 11:13:26 +0000 (11:13 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 11:13:26 +0000 (11:13 +0000)
fix erroneous use of . rather than ->

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1297 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/get_in_tkt.c

index fd11cbb0c9e461001edb5d9a92a9f54c3b5aded4..ad5a40f5bba11a06776fb612f8dbe659ac4415de 100644 (file)
@@ -58,7 +58,7 @@ extern krb5_deltat krb5_clockskew;
 
 typedef krb5_error_code (*git_key_proc) PROTOTYPE((const krb5_keytype,
                                                   krb5_keyblock **,
-                                                  krb5_pointer ));
+                                                  krb5_const_pointer ));
 typedef krb5_error_code (*git_decrypt_proc) PROTOTYPE((const krb5_keyblock *,
                                                       krb5_const_pointer,
                                                       krb5_kdc_rep * ));
@@ -182,8 +182,8 @@ OLDDECLARG(krb5_ccache, ccache)
            (request.till != 0) &&
            (as_reply->enc_part2->times.renew_till > request.till))
        ) {
-       bzero((char *)as_reply->enc_part2->session.contents,
-             as_reply->enc_part2->session.length);
+       bzero((char *)as_reply->enc_part2->session->contents,
+             as_reply->enc_part2->session->length);
        krb5_free_kdc_rep(as_reply);
        return KRB5_KDCREP_MODIFIED;
     }
@@ -193,8 +193,8 @@ OLDDECLARG(krb5_ccache, ccache)
     /* fill in the credentials */
     if (retval = krb5_copy_keyblock(as_reply->enc_part2->session,
                                    &creds->keyblock)) {
-       bzero((char *)as_reply->enc_part2->session.contents,
-             as_reply->enc_part2->session.length);
+       bzero((char *)as_reply->enc_part2->session->contents,
+             as_reply->enc_part2->session->length);
        krb5_free_kdc_rep(as_reply);
        return retval;
     }