summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-02-15 13:54:24 +0000
committerArne Juul <arnej@verizonmedia.com>2021-02-15 14:16:17 +0000
commitc0b8734987176a93588909739af143c6b0a1a6ff (patch)
tree33340f0cfc5e9e4b8691abdaa378712f3bf8ded5 /vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
parente385cf1498861b27da4312828613bdabab9b2161 (diff)
use size literals in vespalib
Diffstat (limited to 'vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp')
-rw-r--r--vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp b/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
index 7dacbd89503..92099e9a602 100644
--- a/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
+++ b/vespalib/src/tests/net/tls/openssl_impl/openssl_impl_test.cpp
@@ -12,6 +12,7 @@
#include <vespa/vespalib/net/tls/impl/openssl_tls_context_impl.h>
#include <vespa/vespalib/test/make_tls_options_for_testing.h>
#include <vespa/vespalib/test/peer_policy_utils.h>
+#include <vespa/vespalib/util/size_literals.h>
#include <stdexcept>
#include <stdlib.h>
@@ -83,8 +84,8 @@ struct Fixture {
tls_ctx(TlsContext::create_default_context(tls_opts, AuthorizationMode::Enforce)),
client(create_openssl_codec(tls_ctx, CryptoCodec::Mode::Client)),
server(create_openssl_codec(tls_ctx, CryptoCodec::Mode::Server)),
- client_to_server(64 * 1024),
- server_to_client(64 * 1024)
+ client_to_server(64_Ki),
+ server_to_client(64_Ki)
{}
~Fixture();