Skip to content

PHP fails to build if openssl was built with --no-ec #9064

Closed

Description

@Lex-2008

Description

Looking at openssl.c:

Worth noting that further down it's properly #ifdef'd out:
https://github.com/php/php-src/blob/php-8.1.8/ext/openssl/openssl.c#L5003

#ifdef HAVE_EVP_PKEY_EC
		case EVP_PKEY_EC:
			ktype = OPENSSL_KEYTYPE_EC;

Probably it should be #ifdef'd on line 4899, too?

PHP Version

8.1.8

Operating System

No response

Activity

  1. cmb69 commented on Jul 20, 2022

    @cmb69
    Member

    Indeed, looks like this occurrence has been overlooked.

  2. added a commit that references this issue on Jul 21, 2022
  3. added a commit that references this issue on Aug 19, 2022
  4. added a commit that references this issue on Nov 25, 2022
    ce57221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions