diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-09-14 07:10:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-09-14 07:10:13 +0000 |
commit | 1d42c94b05cf2e4ec056d780b919a05159a17b72 (patch) | |
tree | f03564f0bad20129e2a6ef83bc198287372a9cae /packet-ssl.c | |
parent | e32028f6cd3ea4a18a7364fbb32affb4077217d0 (diff) | |
download | wireshark-1d42c94b05cf2e4ec056d780b919a05159a17b72.tar.gz wireshark-1d42c94b05cf2e4ec056d780b919a05159a17b72.tar.bz2 wireshark-1d42c94b05cf2e4ec056d780b919a05159a17b72.zip |
Make the resolution for time values be nanoseconds rather than
microseconds.
Fix some "signed vs. unsigned" comparison warnings.
svn path=/trunk/; revision=3934
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; |