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

            Bug ID: 3692
           Summary: rekey.sh doesn't actually test different algorithms
           Product: Portable OpenSSH
           Version: 9.7p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Regression tests
          Assignee: unassigned-b...@mindrot.org
          Reporter: nrei...@blackberry.com

In rekey.sh there is a function ssh_data_rekeying(). It sets the first
parameter as _kexopt but then 2 lines later tests _kexopts - note the
trailing "s":

ssh_data_rekeying()
{
        _kexopt=$1 ; shift
        _opts="$@"
        if ! test -z "$_kexopts" ; then
                cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
                echo "$_kexopt" >> $OBJ/sshd_proxy
                _opts="$_opts -o$_kexopt"
        fi

This means that the various algorithms never are set and so it tests
the same default algorithm over and over.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to