diff options
author | Daniel Neus <[email protected]> | 2016-01-08 12:18:40 +0100 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2016-03-02 21:22:50 +0100 |
commit | 88ff2d7a3e2e6258103aa49e587fad82a1897dbe (patch) | |
tree | fddfe1b880d49f561965a80533c776c042e7fb9b /src | |
parent | 0a9505a067313e0e1b9099873642e07ad9fee52f (diff) |
fix dead assignment found by clang-analyzer in test_dtls_handshake()
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/unit_tls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp index 0fa208858..1c758b5c8 100644 --- a/src/tests/unit_tls.cpp +++ b/src/tests/unit_tls.cpp @@ -527,7 +527,7 @@ Test::Result test_dtls_handshake(Botan::TLS::Protocol_Version offer_version, { input.resize(needed); Test::rng().randomize(input.data(), input.size()); - needed = client.received_data(input.data(), input.size()); + client.received_data(input.data(), input.size()); } } catch(std::exception&) |