Bug 2954 - Allow building unit tests without OpenSSL
Summary: Allow building unit tests without OpenSSL
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Regression tests (show other bugs)
Version: 7.9p1
Hardware: Other Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2019-01-18 20:18 AEDT by Jakub Jelen
Modified: 2021-04-23 15:03 AEST (History)
1 user (show)

See Also:


Attachments
proposed patch (20.95 KB, patch)
2019-01-18 20:18 AEDT, Jakub Jelen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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