diff options
author | Jack Lloyd <[email protected]> | 2016-04-21 09:48:37 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-04-21 09:48:37 -0400 |
commit | f645c0113fe1b1b3233186f081651e8adbe50fc0 (patch) | |
tree | fd33c324fbf7312b22e1b9b9dc78780e74c2dd48 /src/lib | |
parent | c648fa1e95b93cd2a27cca61a7d571a54ae5b35c (diff) |
Fix return type of TLS_Reader::get_u32bit
Only affects decoding of session ticket lifetimes.
GH #478
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/tls/tls_reader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tls_reader.h b/src/lib/tls/tls_reader.h index b3c6db0c9..88bc4e932 100644 --- a/src/lib/tls/tls_reader.h +++ b/src/lib/tls/tls_reader.h @@ -50,10 +50,10 @@ class TLS_Data_Reader m_offset += bytes; } - u16bit get_u32bit() + u32bit get_u32bit() { assert_at_least(4); - u16bit result = make_u32bit(m_buf[m_offset ], m_buf[m_offset+1], + u32bit result = make_u32bit(m_buf[m_offset ], m_buf[m_offset+1], m_buf[m_offset+2], m_buf[m_offset+3]); m_offset += 4; return result; |