Bug 2954

Summary: Allow building unit tests without OpenSSL
Product: Portable OpenSSH Reporter: Jakub Jelen <jjelen>
Component: Regression testsAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm
Priority: P5 Keywords: patch
Version: 7.9p1   
Hardware: Other   
OS: Linux   
Attachments:
Description Flags
proposed patch none

Description Jakub Jelen 2019-01-18 20:18:39 AEDT
Created attachment 3224 [details]
proposed patch

The attached patch allows to build and run a limited list of test cases that do not require OpenSSL.

To be able to run them from make tests, it is still needed to skip the t1 to t12 make targets for example by running the following command:

make tests REGRESS_TARGETS=unit

If the detection of OpenSSL would work also in the regress Makefile level, it would be great.

I did not try to run the other tests without OpenSSL yet.
Comment 1 Damien Miller 2020-11-27 14:56:21 AEDT
This got fixed at some point and is a tested configuration on https://tinderbox.dtucker.net/OpenSSH_Portable/status.html
Comment 2 Damien Miller 2021-04-23 15:03:56 AEST
closing resolved bugs as of 8.6p1 release