aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/tls/tls_record.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2022-02-04 18:05:34 -0500
committerJack Lloyd <[email protected]>2022-02-06 08:52:16 -0500
commitfbb7c5fba1bcde2460dda48c1423a23b3b3062bf (patch)
treec0b9cd348067f0813d80e9b1b23b149d1a0d0af2 /src/lib/tls/tls_record.h
parent3c8d79246c7c5c57296d3165922b58aad401e5e3 (diff)
Fix clang-tidy performance warnings
Diffstat (limited to 'src/lib/tls/tls_record.h')
-rw-r--r--src/lib/tls/tls_record.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tls/tls_record.h b/src/lib/tls/tls_record.h
index 8af4e5c05..08ad14784 100644
--- a/src/lib/tls/tls_record.h
+++ b/src/lib/tls/tls_record.h
@@ -178,7 +178,7 @@ Record_Header read_record(bool is_datagram,
size_t& consumed,
secure_vector<uint8_t>& record_buf,
Connection_Sequence_Numbers* sequence_numbers,
- get_cipherstate_fn get_cipherstate,
+ const get_cipherstate_fn& get_cipherstate,
bool allow_epoch0_restart);
}