diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-06-01 08:56:10 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-05 15:27:33 -0400 |
commit | 8e9392c2670d949517f688d2d7c6320251bf6117 (patch) | |
tree | 56d876d22c75daf7fcaf4e4d034221c8b3c157d1 /ReleaseNotes | |
parent | 39b7e89c28efda628d57640302276b7f04b2c0de (diff) | |
download | tor-8e9392c2670d949517f688d2d7c6320251bf6117.tar.gz tor-8e9392c2670d949517f688d2d7c6320251bf6117.zip |
Repair link_handshake unit tests to mock tor_tls_get_own_cert()
The tests previously assumed that the link handshake code would be
calling get_my_certs() -- when I changed it to call get_own_cert()
instead for the (case 2) 22460 fix, the tests failed, since the tls
connection wasn't really there.
This change makes us start mocking out the tor_tls_get_own_cert()
function too.
It also corrects the behavior of the mock_get_peer_cert() function
-- it should have been returning a newly allocated copy.
Diffstat (limited to 'ReleaseNotes')
0 files changed, 0 insertions, 0 deletions