summaryrefslogtreecommitdiff
path: root/net/zephyr/patches/patch-ab
blob: 54a8b7113c77c02c10546a27f1d12cbca19349a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
$NetBSD: patch-ab,v 1.2 1998/08/07 11:11:07 agc Exp $

*** server/zserver.h.~1~	Tue Jun 18 15:43:02 1996
--- server/zserver.h	Thu Apr  9 13:26:04 1998
***************
*** 209,215 ****
  void add_to_key_sched_cache __P((des_cblock key, Sched *sched));
  int krb_set_key __P((char *key, int cvt));
  int krb_rd_req __P((KTEXT authent, char *service, char *instance,
! 		    unsigned KRB_INT32 from_addr, AUTH_DAT *ad, char *fn));
  int krb_find_ticket __P((KTEXT authent, KTEXT ticket));
  int krb_get_lrealm __P((char *r, int n));
  #endif
--- 209,215 ----
  void add_to_key_sched_cache __P((des_cblock key, Sched *sched));
  int krb_set_key __P((char *key, int cvt));
  int krb_rd_req __P((KTEXT authent, char *service, char *instance,
! 		    KRB_INT32 from_addr, AUTH_DAT *ad, char *fn));
  int krb_find_ticket __P((KTEXT authent, KTEXT ticket));
  int krb_get_lrealm __P((char *r, int n));
  #endif
*** server/zsrv_conf.h.~1~	Fri Jun 30 18:11:35 1995
--- server/zsrv_conf.h	Thu Apr  9 13:24:38 1998
***************
*** 48,51 ****
--- 48,53 ----
  #define SWEEP_INTERVAL  3600		/* Time between sweeps of the ticket
  					   hash table */
  
+ #define KRB_INT32 int32_t
+ 
  #endif /* __ZSRV_CONF_H__ */
*** lib/zephyr/ZMkAuth.c.~1~	Tue Jun 18 15:44:46 1996
--- lib/zephyr/ZMkAuth.c	Thu Apr  9 13:31:37 1998
***************
*** 44,50 ****
      char *cstart, *cend;
      ZChecksum_t checksum;
      CREDENTIALS cred;
-     extern unsigned long des_quad_cksum();
  
      now = time(0);
      if (last_authent_time == 0 || (now - last_authent_time > 120)) {
--- 44,49 ----
*** server/kopt.c.~1~	Tue Jun 18 15:43:00 1996
--- server/kopt.c	Thu Apr  9 13:26:24 1998
***************
*** 234,240 ****
      KTEXT authent;			/* The received message */
      char *service;			/* Service name */
      char *instance;			/* Service instance */
!     unsigned KRB_INT32 from_addr;	/* Net address of originating host */
      AUTH_DAT *ad;			/* Structure to be filled in */
      char *fn;				/* Filename to get keys from */
  {
--- 234,240 ----
      KTEXT authent;			/* The received message */
      char *service;			/* Service name */
      char *instance;			/* Service instance */
!     KRB_INT32 from_addr;		/* Net address of originating host */
      AUTH_DAT *ad;			/* Structure to be filled in */
      char *fn;				/* Filename to get keys from */
  {