diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-10-21 13:54:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-10-21 13:54:12 -0400 |
commit | 03adb8caadb894a7fcd7c7a24e3147fa6d3fc4f9 (patch) | |
tree | a15f7db95aec32ed4aec9edcaca217b6ff94dae1 /src/tools | |
parent | 704076680abd188dcb3432403e591a6cb614a1dc (diff) | |
download | tor-03adb8caadb894a7fcd7c7a24e3147fa6d3fc4f9.tar.gz tor-03adb8caadb894a7fcd7c7a24e3147fa6d3fc4f9.zip |
Add some asserts to get_{tlsclient|server}_identity_key
We now require that:
- Only actual servers should ever call get_server_identity_key
- If you're being a client or bridge, the client and server keys should
differ.
- If you're being a public relay, the client and server keys
should be the same.
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions