[Bug 2916] New: compilation fails with openssl built without ECC

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Oct 10 07:20:46 AEDT 2018


https://bugzilla.mindrot.org/show_bug.cgi?id=2916

            Bug ID: 2916
           Summary: compilation fails with openssl built without ECC
           Product: Portable OpenSSH
           Version: -current
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Miscellaneous
          Assignee: unassigned-bugs at mindrot.org
          Reporter: cote2004-github at yahoo.com

Created attachment 3191
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3191&action=edit
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.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list