[Bug 3068] New: Duplicate code in sshkey_load_private() function

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Sep 10 14:30:17 AEST 2019


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

            Bug ID: 3068
           Summary: Duplicate code in sshkey_load_private() function
           Product: Portable OpenSSH
           Version: 8.0p1
          Hardware: Other
                OS: Windows 10
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh-keygen
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jitendra.sharma at intel.com

sshkey_load_private() function's role is almost similar to
sshkey_load_private_type().

By checking at the source code for sshkey_load_private(), we could see
that there is lot of code duplicacy there (as similar code is present
in sshkey_load_private_type()).

Could we explore if we could remove sshkey_load_private(), and keep
sshkey_load_private_type(). This will help in avoiding code duplicacy.

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


More information about the openssh-bugs mailing list