Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63560 closed defect (fixed)

php80 (and all earlier php versions) fail to build against openssl 3.0.0

Reported by: kencu (Ken) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: php80 openssl

Description

using the openssl 3.0.0 upgrade in this PR:

https://github.com/macports/macports-ports/pull/12410

/opt/local/var/macports/build/_opt_macportsofficial_macports-ports_lang_php/php80-openssl/work/php-8.0.11/ext/openssl/openssl.c:1224:51: error: use of undeclared identifier 'RSA_SSLV23_PADDING'
        REGISTER_LONG_CONSTANT("OPENSSL_SSLV23_PADDING", RSA_SSLV23_PADDING, CONST_CS|CONST_PERSISTENT);
                                                         ^

php81 @8.1.0RC2_0 does build against openssl 3.0.0.

Attachments (1)

php80-openssl3-fail.log (141.1 KB) - added by kencu (Ken) 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by kencu (Ken)

Attachment: php80-openssl3-fail.log added

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Then I guess php80 and earlier should be set to use openssl11.

comment:2 Changed 3 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

I guessso. The point of this ticket was only to document for you why a workaround might be needed, as I know you would like to see some evidence.

Last edited 3 years ago by kencu (Ken) (previous) (diff)

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

I appreciate that. How did you fix it?

Note: See TracTickets for help on using tickets.