* mk_safe.c (krb_mk_safe): Fix up call to quad_cksum().
* tf_util.c (tf_init): Add call to getuid() to initialize me.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10787
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Aug 7 11:04:03 1998 Tom Yu <tlyu@mit.edu>
+
+ * rd_safe.c (krb_rd_safe): Fix up call to quad_cksum().
+
+ * mk_safe.c (krb_mk_safe): Fix up call to quad_cksum().
+
+ * tf_util.c (tf_init): Add call to getuid() to initialize me.
+
Thu Jul 9 19:35:01 1998 Matthew D Hancher <mdh@mit.edu>
* tf_util.c (tf_init): Fixed a potential race condition in the opening
#else /* Do encryption */
/* calculate the checksum of length, timestamps, and input data */
cksum = quad_cksum(q, (unsigned KRB4_32 *)big_cksum,
- p-q, 2, (C_Block *)&key);
+ p-q, 2, (C_Block *)key);
#endif /* NOENCRYPTION */
DEB (("\ncksum = %u",cksum));
#else /* Do encryption */
/* calculate the checksum of the length, timestamps, and
* input data, on the sending byte order !! */
- quad_cksum(q,calc_cksum,p-q,2,(C_Block *)&key);
+ quad_cksum(q,calc_cksum,p-q,2,(C_Block *)key);
#endif /* NOENCRYPTION */
DEB (("\n0: calc %l big %lx\n1: calc %lx big %lx\n2: calc %lx big %lx\n3: calc %lx big %lx\n",
int shmid;
#endif
+ me = getuid();
+
switch (rw) {
case R_TKT_FIL:
wflag = 0;