diff options
author | Simon Josefsson <simon@josefsson.org> | 2005-12-09 11:28:38 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2005-12-09 11:28:38 +0000 |
commit | 4eaddbf3b43505ba542dc7e46f2cfa8de3100b11 (patch) | |
tree | a78fc8ecb1e087e5a27d7c1c5fb2c20df52588af /lib/gnutls_v2_compat.c | |
parent | 1d702c2e2eddef22d5b7b63ec29660b5ea2739f9 (diff) | |
download | gnutls-4eaddbf3b43505ba542dc7e46f2cfa8de3100b11.tar.gz |
Replace uint16 with uint16_t.
Diffstat (limited to 'lib/gnutls_v2_compat.c')
-rw-r--r-- | lib/gnutls_v2_compat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gnutls_v2_compat.c b/lib/gnutls_v2_compat.c index 38c3b57de5..0cabf1e4e6 100644 --- a/lib/gnutls_v2_compat.c +++ b/lib/gnutls_v2_compat.c @@ -92,15 +92,15 @@ int _gnutls_read_client_hello_v2 (gnutls_session_t session, opaque * data, int datalen) { - uint16 session_id_len = 0; + uint16_t session_id_len = 0; int pos = 0; int ret = 0; - uint16 sizeOfSuites; + uint16_t sizeOfSuites; gnutls_protocol_t version; opaque rnd[TLS_RANDOM_SIZE]; int len = datalen; int err; - uint16 challenge; + uint16_t challenge; opaque session_id[TLS_MAX_SESSION_ID_SIZE]; gnutls_protocol_t ver; @@ -133,7 +133,7 @@ _gnutls_read_client_hello_v2 (gnutls_session_t session, opaque * data, pos += 2; - /* Read uint16 cipher_spec_length */ + /* Read uint16_t cipher_spec_length */ DECR_LEN (len, 2); sizeOfSuites = _gnutls_read_uint16 (&data[pos]); pos += 2; |