diff options
| author | levlam <levlam@telegram.org> | 2025-03-07 15:10:25 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2025-03-07 15:10:25 +0300 |
| commit | 85994650c4a4241990d562d2203c60bf22b81dfa (patch) | |
| tree | 11ec20c92fe1579f73bae7b7f3443f17a1700e4f /benchmark | |
| parent | 16ca19038c5fe84224f823412d10728d79a3ab37 (diff) | |
Minor improvements.
Diffstat (limited to 'benchmark')
| -rw-r--r-- | benchmark/bench_crypto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bench_crypto.cpp b/benchmark/bench_crypto.cpp index 8eae71394..ab1e8332b 100644 --- a/benchmark/bench_crypto.cpp +++ b/benchmark/bench_crypto.cpp @@ -285,7 +285,7 @@ class AesCtrOpenSSLBench final : public td::Benchmark { state.init(as_slice(key), as_slice(iv)); for (int i = 0; i < n; i++) { int len = 0; - int int_size = static_cast<int>(DATA_SIZE); + auto int_size = static_cast<int>(DATA_SIZE); EVP_EncryptUpdate(ctx, data_slice.ubegin(), &len, data_slice.ubegin(), int_size); CHECK(len == int_size); } |
