diff options
author | louiz’ <louiz@louiz.org> | 2016-10-27 01:15:26 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-10-27 01:15:26 +0200 |
commit | 6d5d7eff6835ff0dbeca8d84bfadee127918c3e9 (patch) | |
tree | 033511655f3fa87fe8e23b3b5cf3da8eda27c4d0 /louloulibs/network/tcp_socket_handler.hpp | |
parent | 021f025cb039011ad07158b0d94f1b430a409e49 (diff) | |
download | biboumi-6d5d7eff6835ff0dbeca8d84bfadee127918c3e9.tar.gz biboumi-6d5d7eff6835ff0dbeca8d84bfadee127918c3e9.tar.bz2 biboumi-6d5d7eff6835ff0dbeca8d84bfadee127918c3e9.tar.xz biboumi-6d5d7eff6835ff0dbeca8d84bfadee127918c3e9.zip |
Directly use Botan::byte instead of char, to avoid an unnecessary cast
Diffstat (limited to 'louloulibs/network/tcp_socket_handler.hpp')
-rw-r--r-- | louloulibs/network/tcp_socket_handler.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/louloulibs/network/tcp_socket_handler.hpp b/louloulibs/network/tcp_socket_handler.hpp index b0ba493..7bbe4d4 100644 --- a/louloulibs/network/tcp_socket_handler.hpp +++ b/louloulibs/network/tcp_socket_handler.hpp @@ -266,9 +266,6 @@ private: * An additional buffer to keep data that the user wants to send, but * cannot because the handshake is not done. */ - std::string pre_buf; + std::vector<Botan::byte> pre_buf; #endif // BOTAN_FOUND }; - - - |