Mailing List Archive

[Bug 3068] New: Duplicate code in sshkey_load_private() function
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@mindrot.org
Reporter: jitendra.sharma@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs