Skip to content

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

Closed
@Lex-2008

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

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