Bug 2979 - OpenSSH 7.9p1 fails to build against OpenSSL 1.0.2
Summary: OpenSSH 7.9p1 fails to build against OpenSSL 1.0.2
Status: CLOSED DUPLICATE of bug 2921
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 7.9p1
Hardware: All Linux
: P5 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-13 05:23 AEDT by James Brown
Modified: 2021-03-04 09:53 AEDT (History)
1 user (show)

See Also:


Attachments
patch to fix version number guard (479 bytes, application/octet-stream)
2019-03-13 05:23 AEDT, James Brown
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James Brown 2019-03-13 05:23:32 AEDT
Created attachment 3251 [details]
patch to fix version number guard

In commit 4e23deefd7959ef83c73ed9cce574423438f6133 ("Avoid deprecated OPENSSL_config when using 1.1.x"), the guard around calling `OPENSSL_init_crypto` was mistakenly set to OpenSSL version 1.0.1 instead of version 1.1.0 (this function was only added in OpenSSL 1.1.0), so OpenSSH fails to build against OpenSSL 1.0.2 (which is greater than 1.0.1 but less than 1.1.0).

A patch is attached which fixes this.
Comment 1 James Brown 2019-03-13 05:39:49 AEDT
This may be a dup of #2921.
Comment 2 Darren Tucker 2019-03-13 10:46:17 AEDT
Indeed it is, this has already been fixed and will be in the next release.  We also changed configure to explicitly test for the function it wants instead of inferring it from the OpenSSL version number (https://github.com/openssh/openssh-portable/commit/262d81a259d4aa1507c709ec9d5caa21c7740722)

Thanks.

*** This bug has been marked as a duplicate of bug 2921 ***
Comment 3 Damien Miller 2021-03-04 09:53:21 AEDT
close bugs that were resolved in OpenSSH 8.5 release cycle