[Bug 3306] New: test_kex.c should check #ifdef USE_SNTRUP761X25519

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Apr 29 08:24:24 AEST 2021


https://bugzilla.mindrot.org/show_bug.cgi?id=3306

            Bug ID: 3306
           Summary: test_kex.c should check #ifdef USE_SNTRUP761X25519
           Product: Portable OpenSSH
           Version: 8.6p1
          Hardware: Other
                OS: Windows 10
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Regression tests
          Assignee: unassigned-bugs at mindrot.org
          Reporter: balu.gajjala at gmail.com

V8_5 introduced an experimental key exchange method
sntrup761x25519-sha512 at openssh.com which is disabled by default.

test_kex.c assume the new kex method is enabled which is not true.

Code change - 
https://github.com/openssh/openssh-portable/blob/e86968280e358e62649d268d41f698d64d0dc9fa/regress/unittests/kex/test_kex.c#L205

From
    do_kex("sntrup761x25519-sha512 at openssh.com");

To
#ifdef USE_SNTRUP761X25519
        do_kex("sntrup761x25519-sha512 at openssh.com");
#endif

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list