diff options
author | Nick Mathewson <nickm@torproject.org> | 2022-03-02 09:38:58 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2022-03-02 09:38:58 -0500 |
commit | 33bb1c5fcac82dad438d398155f5b45ae549e21a (patch) | |
tree | 08763ec7de9b87df7f68b2ef5b357b140107157e /changes/bug40563 | |
parent | ecbab95998e2f0e5c80bcd7d67633f33e96595bd (diff) | |
download | tor-33bb1c5fcac82dad438d398155f5b45ae549e21a.tar.gz tor-33bb1c5fcac82dad438d398155f5b45ae549e21a.zip |
connection_or_set_identity_digest(): handle zero ed_id better
It looks like our code actually assumes (by dereferencing it in a
log call) that ed_id will _not_ be NULL, but rather will be a bunch
of zero bytes. Refactor the code accordingly, and stop using NULL
tests on ed_id.
Diffstat (limited to 'changes/bug40563')
0 files changed, 0 insertions, 0 deletions