Bug 1840

Summary: openbsd-compat/openssl-compat.c misses openssl/conf.h include for OPENSSL_config with engine support
Product: Portable OpenSSH Reporter: Mike Frysinger <vapier>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: dtucker
Priority: P2    
Version: 5.6p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 1803    
Attachments:
Description Flags
openssh-portable-openssl-inc.patch none

Description Mike Frysinger 2010-11-22 11:50:18 AEDT
Created attachment 1958 [details]
openssh-portable-openssl-inc.patch

if openssh is configured with --with-ssl-engine, then building the code results in the warning:
openssl-compat.c: In function ‘ssh_SSLeay_add_all_algorithms’:
openssl-compat.c:71:2: warning: implicit declaration of function ‘OPENSSL_config’

so the file needs to pull in openssl/conf.h for the function

openssh-5.6p1 shows this issue for sure
Comment 1 Darren Tucker 2010-11-22 17:59:56 AEDT
Applied, thanks.  It will be in 5.7p1.
Comment 2 Damien Miller 2011-01-24 12:34:07 AEDT
Move resolved bugs to CLOSED after 5.7 release