[Bug 2168] New: Fails to build after arc4random API change in OpenBSD

bugzilla-daemon at natsu.mindrot.org bugzilla-daemon at natsu.mindrot.org
Wed Nov 6 23:56:56 EST 2013


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

            Bug ID: 2168
           Summary: Fails to build after arc4random API change in OpenBSD
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: OpenBSD
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Build system
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jca at wxcvbn.org

Created attachment 2372
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2372&action=edit
Detect arc4random_stir() availability

Since http://marc.info/?l=openbsd-cvs&m=138238762705209&w=2
OpenSSH-portable fails to build on OpenBSD-current (post 5.4). This is
a problem for the OpenBSD ports tree which includes copies of the
openssh-portable source code.

Since other OSes have not implemented yet the improvements made since
10 years to the arc4random API, calling the arc4random_addrandom() or
arc4random_stir() functions is still necessary on those platforms.
Maybe one day we'll finally get rid of those functions.

The patch attached fixes build on OpenBSD-current and any other
platform willing to remove these functions.

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


More information about the openssh-bugs mailing list