Allow conflicts to occur in keypinning journal
commitc5e87e33c7a3bf0f3d6b289814d303bcb4c63fe2
authorNick Mathewson <nickm@torproject.org>
Wed, 23 Sep 2015 14:44:38 +0000 (23 10:44 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 23 Sep 2015 15:02:21 +0000 (23 11:02 -0400)
tree697388196be5e2808ccfec0ec6096d99cf049009
parent81724d5a001575e3f25da665b8bdedf287ace765
Allow conflicts to occur in keypinning journal

When we find a conflict in the keypinning journal, treat the new
entry as superseding all old entries that overlap either of its
keys.

Also add a (not-yet-used) configuration option to disable keypinning
enforcement.
src/or/config.c
src/or/keypin.c
src/or/or.h
src/test/test_keypin.c