aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_version.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tls/tls_version.cpp')
-rw-r--r--src/lib/tls/tls_version.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tls_version.cpp b/src/lib/tls/tls_version.cpp
index 37360b410..274cedc11 100644
--- a/src/lib/tls/tls_version.cpp
+++ b/src/lib/tls/tls_version.cpp
@@ -15,8 +15,8 @@ namespace TLS {
std::string Protocol_Version::to_string() const
{
- const byte maj = major_version();
- const byte min = minor_version();
+ const uint8_t maj = major_version();
+ const uint8_t min = minor_version();
if(maj == 3 && min == 0)
return "SSL v3";