• 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
    secret_onion_key_ntor.old.
    
    Fixes bug 30916; bugfix on 0.2.4.8-alpha when ntor keys were
    introduced.
    2da4d64a