aboutsummaryrefslogtreecommitdiffstats
path: root/packet-tacacs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-19 19:03:13 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-19 19:03:13 +0000
commitb3557944ff85f828efd92ed9bbe76c41df619e21 (patch)
tree9a12273debe9cb277c5329322c2738a82b834256 /packet-tacacs.c
parent2b94a81c2b3baadd63e27d7fafe544f026efd174 (diff)
Don't use "u_char", use "guchar" for characters and "guint8" for 8-bit
unsigned integers. svn path=/trunk/; revision=9355
Diffstat (limited to 'packet-tacacs.c')
-rw-r--r--packet-tacacs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-tacacs.c b/packet-tacacs.c
index cba7dcbfcd..25402d57cb 100644
--- a/packet-tacacs.c
+++ b/packet-tacacs.c
@@ -5,7 +5,7 @@
* Full Tacacs+ parsing with decryption by
* Emanuele Caratti <wiz@iol.it>
*
- * $Id: packet-tacacs.c,v 1.31 2003/11/11 19:23:22 guy Exp $
+ * $Id: packet-tacacs.c,v 1.32 2003/12/19 19:03:13 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -47,7 +47,7 @@
#include "crypt-md5.h"
#include "packet-tacacs.h"
-static void md5_xor( u_char *data, char *key, int data_len, u_char *session_id, u_char version, u_char seq_no );
+static void md5_xor( guint8 *data, char *key, int data_len, guint8 *session_id, guint8 version, guint8 seq_no );
static int proto_tacacs = -1;
static int hf_tacacs_version = -1;
@@ -324,7 +324,7 @@ static gint
tacplus_decrypted_tvb_setup( tvbuff_t *tvb, tvbuff_t **dst_tvb, packet_info *pinfo, guint32 len, guint8 version, char *key )
{
guint8 *buff;
- u_char session_id[4];
+ guint8 session_id[4];
/* TODO Check the possibility to use pinfo->decrypted_data */
/* session_id is in NETWORK Byte Order, and is used as byte array in the md5_xor */
@@ -1092,7 +1092,7 @@ proto_reg_handoff_tacplus(void)
#define MD5_LEN 16
static void
-md5_xor( u_char *data, char *key, int data_len, u_char *session_id, u_char version, u_char seq_no )
+md5_xor( guint8 *data, char *key, int data_len, guint8 *session_id, guint8 version, guint8 seq_no )
{
int i,j,md5_len;
md5_byte_t *md5_buff;