Bug 2907 - Build with --without-openssl is broken
Summary: Build with --without-openssl is broken
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: -current
Hardware: All All
: P5 minor
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-21 05:43 AEST by Max Kellermann
Modified: 2021-03-04 09:52 AEDT (History)
1 user (show)

See Also:


Attachments
add missing `#ifdef WITH_OPENSSL` (4.14 KB, patch)
2018-09-21 05:43 AEST, Max Kellermann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Kellermann 2018-09-21 05:43:08 AEST
Created attachment 3177 [details]
add missing `#ifdef WITH_OPENSSL`

The OpenSSH source code has various #includes to OpenSSL headers which are not inside #ifdef blocks, breaking the build when OpenSSL is not installed. My patch fixes the problem.
Comment 1 Damien Miller 2020-11-27 14:53:11 AEDT
I think Darren has caught most of these by now
Comment 2 Damien Miller 2021-03-04 09:52:48 AEDT
close bugs that were resolved in OpenSSH 8.5 release cycle