aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2016-01-08 12:23:12 +0100
committerDaniel Neus <[email protected]>2016-03-02 21:22:55 +0100
commit94074bac2f71c1c85240a1f9613aeffc66bdc109 (patch)
treed80f2e35577b048b1b8652fd955c81eb08ac5865
parent88ff2d7a3e2e6258103aa49e587fad82a1897dbe (diff)
fixed another dead assignment found by clang-analyzer in test_dtls_handshake()
-rw-r--r--src/tests/unit_tls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/unit_tls.cpp b/src/tests/unit_tls.cpp
index 1c758b5c8..f125bfcb5 100644
--- a/src/tests/unit_tls.cpp
+++ b/src/tests/unit_tls.cpp
@@ -567,7 +567,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&)