diff options
author | Hans Nilsson <[email protected]> | 2019-02-13 14:28:01 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-02-18 17:05:47 +0100 |
commit | b46b332ef58ebc32784d5b395e92395a36bceeff (patch) | |
tree | 02cae86c55efa4b64f6f16c76bef4f4437b2714c /lib/snmp/test/snmp_test_manager.erl | |
parent | 5caddff6454167783460a6533c3145a510349cc5 (diff) | |
download | otp-b46b332ef58ebc32784d5b395e92395a36bceeff.tar.gz otp-b46b332ef58ebc32784d5b395e92395a36bceeff.tar.bz2 otp-b46b332ef58ebc32784d5b395e92395a36bceeff.zip |
ssh: Refactor decryption in ssh_protocol_SUITE
Previously this test suite used a short-cut that didn't work well with the new crypto
API being experimented with in other branches.
This commit uses the legacy decode and decryption functions in ssh_transport. It is of
course normally a bad idea to test something with itself. However, other test suites
test the interoperability with OpenSSH and by that implicitly of the decoding/decryption.
The ssh_protocol_SUITE tests sending malformed and even malicious PDUs to the Erlang/OTP
SSH implementation. Therefore the tests in this suite is not dependent on being different
than thoose of the system under test.
Diffstat (limited to 'lib/snmp/test/snmp_test_manager.erl')
0 files changed, 0 insertions, 0 deletions