• David Goulet's avatar
    sendme: Never fallback to v0 if unknown version · 44265dd6
    David Goulet authored and Nick Mathewson's avatar Nick Mathewson committed
    There was a missing cell version check against our max supported version. In
    other words, we do not fallback to v0 anymore in case we do know the SENDME
    We can either handle it or not, never fallback to the unauthenticated version
    in order to avoid gaming the authenticated logic.
    Add a unit tests making sure we properly test that and also test that we can
    always handle the default emit and accepted versions.
    Fixes #30428
    Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>