From 26ce5ad3876f0ea63ab67a8bdb2ed1a5a1591a3e Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Mon, 1 Jan 1996 11:01:15 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELENG_2_1_0_RELEASE'. This commit was manufactured to restore the state of the 2.1-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs. --- eBones/lib/libkrb/get_request.c | 55 ----------------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 eBones/lib/libkrb/get_request.c (limited to 'eBones/lib/libkrb/get_request.c') diff --git a/eBones/lib/libkrb/get_request.c b/eBones/lib/libkrb/get_request.c deleted file mode 100644 index c4982bf3283ce..0000000000000 --- a/eBones/lib/libkrb/get_request.c +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright 1985, 1986, 1987, 1988 by the Massachusetts Institute - * of Technology. - * For copying and distribution information, please see the file - * . - * - * from: get_request.c,v 4.7 88/12/01 14:00:11 jtkohl Exp $ - * $Id: get_request.c,v 1.3 1995/07/18 16:38:39 mark Exp $ - */ - -#if 0 -#ifndef lint -static char *rcsid = -"$Id: get_request.c,v 1.3 1995/07/18 16:38:39 mark Exp $"; -#endif /* lint */ -#endif - -#include -#include - -/* - * This procedure is obsolete. It is used in the kerberos_slave - * code for Version 3 tickets. - * - * This procedure sets s_name, and instance to point to - * the corresponding fields from tne nth request in the packet. - * it returns the lifetime requested. Garbage will be returned - * if there are less than n requests in the packet. - */ - -int -get_request(pkt, n, s_name, instance) - KTEXT pkt; /* The packet itself */ - int n; /* Which request do we want */ - char **s_name; /* Service name to be filled in */ - char **instance; /* Instance name to be filled in */ -{ - /* Go to the beginning of the request list */ - char *ptr = (char *) pkt_a_realm(pkt) + 6 + - strlen((char *)pkt_a_realm(pkt)); - - /* Read requests until we hit the right one */ - while (n-- > 1) { - ptr++; - ptr += 1 + strlen(ptr); - ptr += 1 + strlen(ptr); - } - - /* Set the arguments to point to the right place */ - *s_name = 1 + ptr; - *instance = 2 + ptr + strlen(*s_name); - - /* Return the requested lifetime */ - return((int) *ptr); -} -- cgit v1.2.3