Closed
Description
Description
#9366 presumably incorrectly changed an ifdef statement in ext/openssl/openssl.c which can now result in the following error during compilation on OpenBSD 7.1 with LibreSSL 3.5.2:
/bin/sh /tmp/php-8.2.0RC1/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/openssl/ -I/tmp/php-8.2.0RC1/ext/openssl/ -I/tmp/php-8.2.0RC1/include -I/tmp/php-8.2.0RC1/main -I/tmp/php-8.2.0RC1 -I/tmp/php-8.2.0RC1/ext/date/lib -I/usr/local/include -I/tmp/php-8.2.0RC1/ext/mbstring/libmbfl -I/tmp/php-8.2.0RC1/ext/mbstring/libmbfl/mbfl -I/tmp/php-8.2.0RC1/TSRM -I/tmp/php-8.2.0RC1/Zend -D_GNU_SOURCE -fno-common -Wstrict-prototypes -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /tmp/php-8.2.0RC1/ext/openssl/openssl.c -o ext/openssl/openssl.lo -MMD -MF ext/openssl/openssl.dep -MT ext/openssl/openssl.lo
/tmp/php-8.2.0RC1/ext/openssl/openssl.c:7173:49: error: use of undeclared identifier 'EVP_CIPH_OCB_MODE'
mode->set_tag_length_always = cipher_mode == EVP_CIPH_OCB_MODE;
^
1 error generated.
*** Error 1 in /tmp/php-8.2.0RC1 (Makefile:434 'ext/openssl/openssl.lo')
PHP Version
PHP 8.2.0RC1
Operating System
OpenBSD 7.1