*** ./clients/xauth/process.c	1993/06/08 17:27:04	1.1
--- ./clients/xauth/process.c	1993/08/12 19:01:01
***************
*** 41,46 ****
--- 41,47 ----
  #endif
  
  #define SECURERPC "SUN-DES-1"
+ #define K5AUTH "KERBEROS-V5-1"
  
  #define XAUTH_DEFAULT_RETRIES 10	/* number of competitors we expect */
  #define XAUTH_DEFAULT_TIMEOUT 2		/* in seconds, be quick */
***************
*** 913,920 ****
  	fwrite (auth->name, sizeof (char), auth->name_length, fp);
  	putc (' ', fp);
  	putc (' ', fp);
! 	if (!strncmp(auth->name, SECURERPC, auth->name_length))
! 	    fwrite (auth->data, sizeof (char), auth->data_length, fp);
  	else
  	    fprintfhex (fp, auth->data_length, auth->data);
  	putc ('\n', fp);
--- 914,922 ----
  	fwrite (auth->name, sizeof (char), auth->name_length, fp);
  	putc (' ', fp);
  	putc (' ', fp);
! 	if (!strncmp(auth->name, SECURERPC, auth->name_length) ||
! 	    !strncmp(auth->name, K5AUTH, auth->name_length))
!             fwrite (auth->data, sizeof (char), auth->data_length, fp);
  	else
  	    fprintfhex (fp, auth->data_length, auth->data);
  	putc ('\n', fp);
***************
*** 1390,1396 ****
  	key = malloc(len-1);
  	strncpy(key, hexkey+1, len-2);
  	len -= 2;
!     } else if (!strcmp(protoname, SECURERPC)) {
  	key = malloc(len+1);
  	strcpy(key, hexkey);
      } else {
--- 1392,1399 ----
  	key = malloc(len-1);
  	strncpy(key, hexkey+1, len-2);
  	len -= 2;
!     } else if (!strcmp(protoname, SECURERPC) ||
! 	       !strcmp(protoname, K5AUTH)) {
  	key = malloc(len+1);
  	strcpy(key, hexkey);
      } else {
