[Bug 2931] New: Incorrect test against OPENSSL_VERSION_NUMBER

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Nov 15 20:38:44 AEDT 2018


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

            Bug ID: 2931
           Summary: Incorrect test against OPENSSL_VERSION_NUMBER
           Product: Portable OpenSSH
           Version: 7.9p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: openssh at davidnewall.com

Created attachment 3204
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3204&action=edit
Fix test of OPENSSL_VERSION_NUMBER

In openbsd-compat/openssl-compat.c, at line 79, there's a test against
OPENSSL_VERSION_NUMBER which determines whether to use OPENSSL_config()
or OPENSSL_init_crypto().  The test uses the latter if OpenSSL version
is 1.0.1 or greater, but that function was introduced in version 1.1.0.

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


More information about the openssh-bugs mailing list