diff options
Diffstat (limited to 'src/lib/tls/tls_channel.cpp')
-rw-r--r-- | src/lib/tls/tls_channel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tls/tls_channel.cpp b/src/lib/tls/tls_channel.cpp index e41f7a254..bdf124767 100644 --- a/src/lib/tls/tls_channel.cpp +++ b/src/lib/tls/tls_channel.cpp @@ -711,8 +711,8 @@ SymmetricKey Channel::key_material_export(const std::string& label, size_t context_size = context.length(); if(context_size > 0xFFFF) throw Invalid_Argument("key_material_export context is too long"); - salt.push_back(get_byte(0, static_cast<uint16_t>(context_size))); - salt.push_back(get_byte(1, static_cast<uint16_t>(context_size))); + salt.push_back(get_byte<0>(static_cast<uint16_t>(context_size))); + salt.push_back(get_byte<1>(static_cast<uint16_t>(context_size))); salt += to_byte_vector(context); } |