From: John Kohl Date: Fri, 19 Oct 1990 11:13:26 +0000 (+0000) Subject: fix const ptr X-Git-Tag: krb5-1.0-alpha2~114 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c491b24f4283abd3f1c6f88dd124b7a5fd5fa6fe;p=krb5.git fix const ptr fix erroneous use of . rather than -> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1297 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index fd11cbb0c..ad5a40f5b 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -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; }