[778] in Zephyr_Bugs
2 patches for server
daemon@ATHENA.MIT.EDU (Derrick J Brashear)
Mon Apr 22 18:56:27 1996
Date: Mon, 22 Apr 1996 18:56:22 -0400 (EDT)
From: Derrick J Brashear <shadow@DEMENTIA.ORG>
To: bug-zephyr@MIT.EDU
Hi,
Following are 2 patches for the server. One is for server/kopt.c to allow
it to compile with fully prototyped des functions. The otehr is to fix a
typo in realm.c
Enjoy.
-D
diff -crtw /afs/athena.mit.edu/astaff/project/zephyr/src/zephyr/server/kopt.c ./server/kopt.c
*** /afs/athena.mit.edu/astaff/project/zephyr/src/zephyr/server/kopt.c Wed Apr 3 22:00:13 1996
--- ./server/kopt.c Mon Apr 22 16:34:26 1996
***************
*** 560,566 ****
#ifndef NOENCRYPTION
/* Do the decryption */
pcbc_encrypt((C_Block *)tkt->dat,(C_Block *)tkt->dat,
! (long) tkt->length,key_s,(C_Block *) key,0);
#endif /* ! NOENCRYPTION */
*flags = *ptr; /* get flags byte */
--- 560,566 ----
#ifndef NOENCRYPTION
/* Do the decryption */
pcbc_encrypt((C_Block *)tkt->dat,(C_Block *)tkt->dat,
! (long) tkt->length, &key_s, (C_Block *) key,0);
#endif /* ! NOENCRYPTION */
*flags = *ptr; /* get flags byte */
diff -crtw /afs/athena.mit.edu/astaff/project/zephyr/src/zephyr/server/realm.c ./server/realm.c
*** /afs/athena.mit.edu/astaff/project/zephyr/src/zephyr/server/realm.c Sat Apr 20 01:04:48 1996
--- ./server/realm.c Mon Apr 22 16:24:11 1996
***************
*** 32,38 ****
char *cp1, *cp2;
int retval;
FILE *rlm_file;
! char list_name[128];
char linebuf[BUFSIZ];
char scratch[128];
--- 32,38 ----
char *cp1, *cp2;
int retval;
FILE *rlm_file;
! char list_file[128];
char linebuf[BUFSIZ];
char scratch[128];
---