[Bug 3585] New: "misc.h" required when build the sk middleware ("sk-usbhid.c") as standalone library

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Jul 2 20:28:00 AEST 2023


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

            Bug ID: 3585
           Summary: "misc.h" required when build the sk middleware
                    ("sk-usbhid.c") as standalone library
           Product: Portable OpenSSH
           Version: 9.3p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Miscellaneous
          Assignee: unassigned-bugs at mindrot.org
          Reporter: thelastlin at outlook.jp

Created attachment 3704
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3704&action=edit
Workaround patch, based on openssh-portable commit
"8a6cd08850f576e7527c52a1b086cae82fab290e"

Someone might want to build "sk-usbhid.c" as standalone middle library
for OpenSSH with `—without-security-key-builtin` distributed by
vendors.

When built "sk-usbhid.c" with SK_STANDALONE, "misc.h" is needed for
`monotime_tv`.

Workaround is in patch. Someone who want to build the middleware as
standalone library also need to link "sk-usbhid.o" with "libssh.a"(or
"misc.o").

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


More information about the openssh-bugs mailing list