(it's a char[] and takint address of it is redundant)
* recvauth.c (krb_recvauth): remove spurious & in front of
reference to kdata->session
* rd_req.c (krb_rd_req): remove spurious & in front of reference
to ad->session
* g_in_tkt.c(decrypt_tkt): remove spurious & in front of reference
to key (it is a C_Block and taking address of it is
redundant)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5719
dc483132-0cff-0310-8789-
dd5450dbe970
Thu May 4 10:03:22 1995 Tom Yu (tlyu@dragons-lair)
+ * put_svc_key.c (put_svc_key): remove spurious & in front of fkey
+ (it's a char[] and takint address of it is redundant)
+
+ * recvauth.c (krb_recvauth): remove spurious & in front of
+ reference to kdata->session
+
+ * rd_req.c (krb_rd_req): remove spurious & in front of reference
+ to ad->session
+
+ * g_in_tkt.c(decrypt_tkt): remove spurious & in front of reference
+ to key (it is a C_Block and taking address of it is
+ redundant)
+
* Makefile.in: new includes target to install krb_err.h in
$(BUILDTOP)/include; includes depends on krb_err.h.
Previously, it was attempting to install a header that had
#ifndef NOENCRYPTION
key_sched(key,key_s);
pcbc_encrypt((C_Block *)cip->dat,(C_Block *)cip->dat,
- (long) cip->length,key_s,(C_Block *)&key,0);
+ (long) cip->length,key_s,(C_Block *)key,0);
#endif /* !NOENCRYPTION */
/* Get rid of all traces of key */
memset((char *)key, 0,sizeof(key));
close(fd);
return KFAILURE;
}
- if (read(fd,&fkey,KEYSZ) != KEYSZ) {
+ if (read(fd,fkey,KEYSZ) != KEYSZ) {
close(fd);
return KFAILURE;
}
#endif
key_sched(ad->session,seskey_sched);
pcbc_encrypt((C_Block *)req_id->dat,(C_Block *)req_id->dat,
- (long) req_id->length, seskey_sched,&ad->session,DES_DECRYPT);
+ (long) req_id->length, seskey_sched,ad->session,DES_DECRYPT);
#ifdef KRB_CRYPT_DEBUG
if (krb_ap_req_debug) log("Done.");
#endif
tmp_buf,
(unsigned KRB4_32) sizeof(cksum),
schedule,
- &kdata->session,
+ kdata->session,
laddr,
faddr);
if (priv_len < 0) {