Bug 3025

Summary: Compilation issue with no support for OPENSSL_HAS_ECC
Product: Portable OpenSSH Reporter: Santhosh Kumar <santhoshkumar851831>
Component: Build systemAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: normal CC: dtucker, santhoshkumar851831
Priority: P5    
Version: 8.0p1   
Hardware: All   
OS: NetBSD   

Description Santhosh Kumar 2019-06-27 18:30:38 AEST
When I tried to compile OpenSSH portable version 8.0 from source without
OPENSSL_HAS_ECC defined, caught undefined reference error to
kex_ecdh_keypair(), kex_ecdh_dec(), kex_ecdh_enc() functions in kexgen.c;
All those functions needed to be under predefined macro OPENSSL_HAS_ECC
because KEX_ECDH_SHA2 exists only under this macro.

Raised a pull-request for Portable version for code reference and changes needed.
https://github.com/openssh/openssh-portable/pull/128
Comment 1 Darren Tucker 2019-06-27 20:45:10 AEST
This was fixed by https://github.com/openssh/openssh-portable/commit/97370f6c2c3b825f8c577b7e6c00b1a98d30a6cf (after 8.0) which adds no-op implementations of those functions without adding the added maintenance of those ifdefs.
Comment 2 Damien Miller 2021-04-23 14:57:00 AEST
closing resolved bugs as of 8.6p1 release