*** des/src/string_to_key.c	Mon Jan 13 23:12:31 1992
--- /afs/athena/astaff/project/afsdev/bld/src/des/strng_to_key.c	Thu May 16 17:26:58 1991
***************
*** 1,12 ****
  /*
!  * $Source: /afs/athena.mit.edu/astaff/project/macathena/MIT/CLibsources/des/RCS/string_to_key.c,v $
!  * $Author: srz $
   *
   * Copyright 1985, 1986, 1987, 1988, 1989 by the Massachusetts Institute
   * of Technology.
   *
   * For copying and distribution information, please see the file
!  * KRB-COPYRIGHT.
   *
   * These routines perform encryption and decryption using the DES
   * private key algorithm, or else a subset of it-- fewer inner loops.
--- 1,12 ----
  /*
!  * $Source: /afs/transarc.com/afs.rel.port/src/des/RCS/strng_to_key.c,v $
!  * $Author: hines $
   *
   * Copyright 1985, 1986, 1987, 1988, 1989 by the Massachusetts Institute
   * of Technology.
   *
   * For copying and distribution information, please see the file
!  * <mit-cpyright.h>.
   *
   * These routines perform encryption and decryption using the DES
   * private key algorithm, or else a subset of it-- fewer inner loops.
***************
*** 25,42 ****
  
  #ifndef	lint
  static char rcsid_string_to_key_c[] =
! "$Header: /afs/athena.mit.edu/astaff/project/macathena/MIT/CLibsources/des/RCS/string_to_key.c,v 1.4 92/01/13 23:12:31 srz Exp $";
  #endif	lint
  
! #include <mit-copyright.h>
  #include <stdio.h>
  #include <des.h>
  #include "des_internal.h"
  
  extern int des_debug;
  extern int des_debug_print();
  extern void des_fixup_key_parity();
  
  /*
   * convert an arbitrary length string to a DES key
   */
--- 25,46 ----
  
  #ifndef	lint
  static char rcsid_string_to_key_c[] =
! "$Header: /afs/transarc.com/afs.rel.port/src/des/RCS/strng_to_key.c,v 2.4 90/10/03 08:43:58 hines Exp $";
  #endif	lint
  
! #include <mit-cpyright.h>
  #include <stdio.h>
  #include <des.h>
+ #include <afs/param.h>
  #include "des_internal.h"
  
  extern int des_debug;
  extern int des_debug_print();
  extern void des_fixup_key_parity();
+ extern unsigned long des_cbc_cksum();
  
+ #include <afs/permit_xprt.h>
+ 
  /*
   * convert an arbitrary length string to a DES key
   */
***************
*** 53,59 ****
      register char *p_char;
      static char k_char[64];
      static des_key_schedule key_sked;
-     extern unsigned long des_cbc_cksum();
  
      in_str = str;
      forward = 1;
--- 57,62 ----
***************
*** 115,125 ****
      /* now fix up key parity again */
      des_fixup_key_parity(key);
  
- #ifdef DEBUG
      if (des_debug)
  	fprintf(stdout,
  		"\nResulting string_to_key = 0x%x 0x%x\n",
  		*((unsigned long *) key),
  		*((unsigned long *) key+1));
- #endif
  }
--- 118,126 ----
