[Bug 233157] [patch] security/openssh-portable: fix OPENSSL_VERSION_NUMBER comparison

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 12 12:58:04 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233157

            Bug ID: 233157
           Summary: [patch] security/openssh-portable: fix
                    OPENSSL_VERSION_NUMBER comparison
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery at FreeBSD.org
          Reporter: rs at bytecamp.net
             Flags: maintainer-feedback?(bdrewery at FreeBSD.org)
          Assignee: bdrewery at FreeBSD.org
 Attachment #199161 text/plain
         mime type:

Created attachment 199161
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199161&action=edit
compare openssl version with 1.1.0 instead of 1.0.1

This patch fixes a wrong interpretation of OPENSSL_VERSION_NUMBER
in openbsd-compat/openssl-compat.c

As documented in
https://www.openssl.org/docs/man1.1.0/crypto/OPENSSL_init_new.html
the function OPENSSL_init_crypto() is available since OpenSSL-1.1.0.
In openssl-compat.c, the availability is compared with version 1.0.1 instead.

This minor typo prevents building security/openssh-portable(7.9p1)
on FreeBSD-11.2.

with kind regards,
Robert Schulze

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


More information about the freebsd-ports-bugs mailing list