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.
This got fixed at some point and is a tested configuration on https://tinderbox.dtucker.net/OpenSSH_Portable/status.html
closing resolved bugs as of 8.6p1 release