| Summary: | compilation fails with openssl built without ECC | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | cotequeiroz <cote2004-github> | ||||
| Component: | Miscellaneous | Assignee: | Assigned to nobody <unassigned-bugs> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | normal | CC: | djm | ||||
| Priority: | P5 | ||||||
| Version: | -current | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2915 | ||||||
| Attachments: |
|
||||||
fix applied - thanks! close bugs that were resolved in OpenSSH 8.5 release cycle |
Created attachment 3191 [details] patch to fix compilation with openssl built without ECC When compiling with openssl built without ECC support, compilation fails: In file included from openssl-compat.c:32:0: openssl-compat.h:27:10: fatal error: openssl/ecdsa.h: No such file or directory #include <openssl/ecdsa.h> The recently-introduced ECDSA code in openssl-compat.h, and libressl-api-compat.c need to be guarded by #ifdef OPENSSL_HAS_ECC. I've attached a patch that takes care of it.