diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-09-14 07:10:13 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-09-14 07:10:13 +0000 |
commit | ac3b47106ad1f890742eddb0421ee47b8a835917 (patch) | |
tree | f03564f0bad20129e2a6ef83bc198287372a9cae /packet-ssl.c | |
parent | b2552bbd08807b250f8a20ed5b919bfdfed56e79 (diff) |
Make the resolution for time values be nanoseconds rather than
microseconds.
Fix some "signed vs. unsigned" comparison warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3934 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ssl.c')
-rw-r--r-- | packet-ssl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-ssl.c b/packet-ssl.c index b63ea12e05..c75d80c4f4 100644 --- a/packet-ssl.c +++ b/packet-ssl.c @@ -2,7 +2,7 @@ * Routines for ssl dissection * Copyright (c) 2000-2001, Scott Renfro <scott@renfro.org> * - * $Id: packet-ssl.c,v 1.6 2001/09/03 10:33:07 guy Exp $ + * $Id: packet-ssl.c,v 1.7 2001/09/14 07:10:06 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1117,14 +1117,14 @@ dissect_ssl3_hnd_hello_common(tvbuff_t *tvb, proto_tree *tree, { /* show the client's random challenge */ guint32 initial_offset = offset; - struct timeval gmt_unix_time; + nstime_t gmt_unix_time; guint8 session_id_length = 0; if (tree) { /* show the time */ - gmt_unix_time.tv_sec = tvb_get_ntohl(tvb, offset); - gmt_unix_time.tv_usec = 0; + gmt_unix_time.secs = tvb_get_ntohl(tvb, offset); + gmt_unix_time.nsecs = 0; proto_tree_add_time(tree, hf_ssl_handshake_random_time, tvb, offset, 4, &gmt_unix_time); offset += 4; |