|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2020-11-14 09:01 UTC] izorkin at elven dot pw
Description:
------------
Error build openssl extension with libressl 3.1.4
Output error:
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c: In function 'php_openssl_load_cipher_mode':
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6906:8: error: 'EVP_CIPH_OCB_MODE' undeclared (first use in this function); did you mean 'EVP_CIPH_OFB_MODE'?
6906 | case EVP_CIPH_OCB_MODE:
| ^~~~~~~~~~~~~~~~~
| EVP_CIPH_OFB_MODE
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6906:8: note: each undeclared identifier is reported only once for each function it appears in
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6914:30: error: 'EVP_CTRL_AEAD_GET_TAG' undeclared (first use in this function); did you mean 'EVP_CTRL_CCM_GET_TAG'?
6914 | mode->aead_get_tag_flag = EVP_CTRL_AEAD_GET_TAG;
| ^~~~~~~~~~~~~~~~~~~~~
| EVP_CTRL_CCM_GET_TAG
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6915:30: error: 'EVP_CTRL_AEAD_SET_TAG' undeclared (first use in this function); did you mean 'EVP_CTRL_GCM_SET_TAG'?
6915 | mode->aead_set_tag_flag = EVP_CTRL_AEAD_SET_TAG;
| ^~~~~~~~~~~~~~~~~~~~~
| EVP_CTRL_GCM_SET_TAG
/build/php-src-8.0.0-rc-4/ext/openssl/openssl.c:6916:28: error: 'EVP_CTRL_AEAD_SET_IVLEN' undeclared (first use in this function); did you mean 'EVP_CTRL_GCM_SET_IVLEN'?
6916 | mode->aead_ivlen_flag = EVP_CTRL_AEAD_SET_IVLEN;
| ^~~~~~~~~~~~~~~~~~~~~~~
| EVP_CTRL_GCM_SET_IVLEN
make: *** [Makefile:798: ext/openssl/openssl.lo] Error 1
make: *** Waiting for unfinished jobs....
Patchescheck_SSL_OCB_support (last revision 2020-12-01 13:00 UTC by alex at ozo dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 09:00:02 2025 UTC |
Patch not working: /build/php-src-8.0.0/ext/openssl/openssl.c: In function 'php_openssl_load_cipher_mode': /build/php-src-8.0.0/ext/openssl/openssl.c:6892:8: error: 'EVP_CIPH_OCB_MODE' undeclared (first use in this function); did you mean 'EVP_CIPH_OFB_MODE'? 6892 | case EVP_CIPH_OCB_MODE: | ^~~~~~~~~~~~~~~~~ | EVP_CIPH_OFB_MODE /build/php-src-8.0.0/ext/openssl/openssl.c:6892:8: note: each undeclared identifier is reported only once for each function it appears in /build/php-src-8.0.0/ext/openssl/openssl.c:6900:30: error: 'EVP_CTRL_AEAD_GET_TAG' undeclared (first use in this function); did you mean 'EVP_CTRL_CCM_GET_TAG'? 6900 | mode->aead_get_tag_flag = EVP_CTRL_AEAD_GET_TAG; | ^~~~~~~~~~~~~~~~~~~~~ | EVP_CTRL_CCM_GET_TAG /build/php-src-8.0.0/ext/openssl/openssl.c:6901:30: error: 'EVP_CTRL_AEAD_SET_TAG' undeclared (first use in this function); did you mean 'EVP_CTRL_GCM_SET_TAG'? 6901 | mode->aead_set_tag_flag = EVP_CTRL_AEAD_SET_TAG; | ^~~~~~~~~~~~~~~~~~~~~ | EVP_CTRL_GCM_SET_TAG /build/php-src-8.0.0/ext/openssl/openssl.c:6902:28: error: 'EVP_CTRL_AEAD_SET_IVLEN' undeclared (first use in this function); did you mean 'EVP_CTRL_GCM_SET_IVLEN'? 6902 | mode->aead_ivlen_flag = EVP_CTRL_AEAD_SET_IVLEN; | ^~~~~~~~~~~~~~~~~~~~~~~ | EVP_CTRL_GCM_SET_IVLEN make: *** [Makefile:799: ext/openssl/openssl.lo] Error 1 make: *** Waiting for unfinished jobs....