summaryrefslogtreecommitdiff
path: root/louloulibs/network/tcp_socket_handler.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-10-27 01:15:26 +0200
committerlouiz’ <louiz@louiz.org>2016-10-27 01:15:26 +0200
commit6d5d7eff6835ff0dbeca8d84bfadee127918c3e9 (patch)
tree033511655f3fa87fe8e23b3b5cf3da8eda27c4d0 /louloulibs/network/tcp_socket_handler.hpp
parent021f025cb039011ad07158b0d94f1b430a409e49 (diff)
downloadbiboumi-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.hpp5
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
};
-
-
-