diff options
author | markm <markm@FreeBSD.org> | 1997-10-03 09:49:50 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1997-10-03 09:49:50 +0000 |
commit | 15be8862e67c696a6f1810713399e2a40d8721fb (patch) | |
tree | 4177a0bb006b8fb78866b63d3e34f555321d451d /eBones/lib/libkrb/pkt_cipher.c | |
parent | 6a495d7ea05780e468fe03fc7ae9cafc6b416e81 (diff) | |
download | FreeBSD-src-15be8862e67c696a6f1810713399e2a40d8721fb.zip FreeBSD-src-15be8862e67c696a6f1810713399e2a40d8721fb.tar.gz |
*GULP* Punt this into the attic. It is no longer used.
Diffstat (limited to 'eBones/lib/libkrb/pkt_cipher.c')
-rw-r--r-- | eBones/lib/libkrb/pkt_cipher.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/eBones/lib/libkrb/pkt_cipher.c b/eBones/lib/libkrb/pkt_cipher.c deleted file mode 100644 index bcadcf9..0000000 --- a/eBones/lib/libkrb/pkt_cipher.c +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright 1985, 1986, 1987, 1988 by the Massachusetts Institute - * of Technology. - * For copying and distribution information, please see the file - * <Copyright.MIT>. - * - * from: pkt_cipher.c,v 4.8 89/01/13 17:46:14 steiner Exp $ - * $Id$ - */ - -#if 0 -#ifndef lint -static char *rcsid = -"$Id$"; -#endif /* lint */ -#endif - -#include <krb.h> -#include <prot.h> - - -/* - * This routine takes a reply packet from the Kerberos ticket-granting - * service and returns a pointer to the beginning of the ciphertext in it. - * - * See "prot.h" for packet format. - */ - -KTEXT -pkt_cipher(packet) - KTEXT packet; -{ - unsigned char *ptr = pkt_a_realm(packet) + 6 - + strlen((char *)pkt_a_realm(packet)); - /* Skip a few more fields */ - ptr += 3 + 4; /* add 4 for exp_date */ - - /* And return the pointer */ - return((KTEXT) ptr); -} |