path: root/packet-kerberos.h
diff options
authorGuy Harris <guy@alum.mit.edu>2000-12-24 09:10:12 +0000
committerGuy Harris <guy@alum.mit.edu>2000-12-24 09:10:12 +0000
commit60f9476740b196b029d68e2c05f86622610a8334 (patch)
tree46694794d0a173b5ee48a0763ed49f62aa28ef34 /packet-kerberos.h
parent57e4216961a5d0bd4f73250e2f4171a25aa176e2 (diff)
Rename "asn1_octet_string_value_decode()" to
"asn1_string_value_decode()", as it can be used for various character string types as well. Turn "asn1_octet_string_decode()" into "asn1_string_decode()", which takes an additional argument giving the tag expected for the string in question, and make "asn1_octet_string_decode()" a wrapper around it. Clean up the ASN.1 dissection in the Kerberos dissector, making more use of the code in "asn1.c", wrapping more operations up in macros, and doing some more type checking. Use "REP" rather than "RESP" in names and strings; "REP" is what the Kerberos spec uses. Make the routines in the Kerberos dissector not used outside that dissector static. Fix some problems with the dissection of strings in the Kerberos dissector (it was extracting the data from the wrong place in the packet). In Kerberos V5, the "kvno" item in the EncryptedData type is optional; treat it as such. Treat integers as unsigned in the Kerberos dissector. svn path=/trunk/; revision=2777
Diffstat (limited to 'packet-kerberos.h')
1 files changed, 0 insertions, 45 deletions
diff --git a/packet-kerberos.h b/packet-kerberos.h
deleted file mode 100644
index 920f562acb..0000000000
--- a/packet-kerberos.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/* packet-kerberos.h
- * Exported routines for Kerberos
- * Wes Hardaker (c) 2000
- * wjhardaker@ucdavis.edu
- *
- * $Id: packet-kerberos.h,v 1.2 2000/08/11 13:34:19 deniel Exp $
- *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
- * Copyright 1998 Didier Jorand
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
-#ifndef __PACKET_KERBEROS_H__
-#define __PACKET_KERBEROS_H__
-void dissect_kerberos(const u_char *, int, frame_data *, proto_tree *);
-void dissect_PrincipalName(char *title, ASN1_SCK *asn1p, frame_data *fd,
- proto_tree *tree, int *offset);
-void dissect_GeneralString(ASN1_SCK *asn1p, guchar **where, guint *item_len,
- guint *pkt_len);
-void dissect_ticket(char *title, ASN1_SCK *asn1p, frame_data *fd,
- proto_tree *tree, int *inoff);
-void dissect_EncryptedData(char *title, ASN1_SCK *asn1p, frame_data *fd,
- proto_tree *tree, int *inoff);
-void dissect_Addresses(char *title, ASN1_SCK *asn1p, frame_data *fd,
- proto_tree *tree, int *inoff);