| Summary: | fix compilation --with-ssl-engine | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | cotequeiroz <cote2004-github> | ||||
| Component: | Miscellaneous | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | ahmedsayeed1982, djm, jbrown, openssh | ||||
| Priority: | P5 | ||||||
| Version: | -current | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2915 | ||||||
| Attachments: |
|
||||||
ugh. Thanks. I've applied this patch to the master and V_7_9 branches. *** Bug 2931 has been marked as a duplicate of this bug. *** *** Bug 2979 has been marked as a duplicate of this bug. *** Close bugs fixed in openssh-8.1 release cycle [spam removed] |
Created attachment 3194 [details] fix OPENSSL_VERSION number in openssl-compat.c openssl version number is wrong in openbsd-compat/openssl-compat.c, ssh_OpenSSL_add_all_algorithms(void) The result is that compilation fails with openssl < 1.1.0: openssl-compat.c: In function 'ssh_OpenSSL_add_all_algorithms': openssl-compat.c:82:2: warning: implicit declaration of function 'OPENSSL_init_crypto'; did you mean 'OPENSSL_init'? [-Wimplicit-function-declaration] OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS | ^~~~~~~~~~~~~~~~~~~ OPENSSL_init openssl-compat.c:82:22: error: 'OPENSSL_INIT_ADD_ALL_CIPHERS' undeclared (first use in this function); did you mean 'OPENSSL_NO_WEAK_SSL_CIPHERS'? OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OPENSSL_NO_WEAK_SSL_CIPHERS