aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_reader.h')
-rw-r--r--src/lib/tls/tls_reader.h4
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;