diff options
author | louiz’ <louiz@louiz.org> | 2017-10-26 19:13:23 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-10-26 19:13:23 +0200 |
commit | f3b1e39cdd7c55c914659f5ac103c3a0855f8f3c (patch) | |
tree | 7f564546ae3a8694b101245b2820322a989eba51 /src/network | |
parent | aa65cfd1064a158ea0ba3482db5e66316495ac24 (diff) | |
download | biboumi-f3b1e39cdd7c55c914659f5ac103c3a0855f8f3c.tar.gz biboumi-f3b1e39cdd7c55c914659f5ac103c3a0855f8f3c.tar.bz2 biboumi-f3b1e39cdd7c55c914659f5ac103c3a0855f8f3c.tar.xz biboumi-f3b1e39cdd7c55c914659f5ac103c3a0855f8f3c.zip |
Add a workaround for https://github.com/randombit/botan/issues/1276
ref #3278
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/tcp_socket_handler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/tcp_socket_handler.cpp b/src/network/tcp_socket_handler.cpp index 343ec56..602cf94 100644 --- a/src/network/tcp_socket_handler.cpp +++ b/src/network/tcp_socket_handler.cpp @@ -28,6 +28,8 @@ namespace Botan::TLS::Session_Manager_In_Memory& get_session_manager() { static Botan::TLS::Session_Manager_In_Memory session_manager{get_rng()}; + // workaround for https://github.com/randombit/botan/issues/1276 + session_manager.remove_all(); return session_manager; } } |