• Nick Mathewson's avatar
    Avoid a crash if our "current" and "old" ntor onion keys are equal · 2da4d64a
    Nick Mathewson authored
    Our dimap code asserts if you try to add the same key twice; this
    can't happen if everything is running smoothly, but it's possible if
    you try to start a relay where secret_onion_key_ntor is the same as
    Fixes bug 30916; bugfix on when ntor keys were