diff options
Diffstat (limited to 'src/kdf/tls_prf/prf_tls.cpp')
-rw-r--r-- | src/kdf/tls_prf/prf_tls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdf/tls_prf/prf_tls.cpp b/src/kdf/tls_prf/prf_tls.cpp index 97e952b0a..872997c28 100644 --- a/src/kdf/tls_prf/prf_tls.cpp +++ b/src/kdf/tls_prf/prf_tls.cpp @@ -32,7 +32,7 @@ void P_hash(MemoryRegion<byte>& output, while(offset != output.size()) { const size_t this_block_len = - std::min<size_t>(mac->OUTPUT_LENGTH, output.size() - offset); + std::min<size_t>(mac->output_length(), output.size() - offset); A = mac->process(A); |