/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c: In function ‘zif_openssl_encrypt’:
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:4912:17: error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
^
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c: In function ‘zif_openssl_decrypt’:
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:4991:17: error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
^
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c: In function ‘zif_openssl_dh_compute_key’:
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:5111:33: error: dereferencing pointer to incomplete type
if (!pkey || EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:5111:64: error: dereferencing pointer to incomplete type
if (!pkey || EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
In file included from /home/software/lnmp1.4/src/php-5.5.38/Zend/zend.h:252:0,
from /home/software/lnmp1.4/src/php-5.5.38/main/php.h:34,
from /home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:29:
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:5117:29: error: dereferencing pointer to incomplete type
data = emalloc(DH_size(pkey->pkey.dh) + 1);
^
/home/software/lnmp1.4/src/php-5.5.38/Zend/zend_alloc.h:70:38: note: in definition of macro ‘emalloc’
#define emalloc(size) _emalloc((size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/home/software/lnmp1.4/src/php-5.5.38/ext/openssl/openssl.c:5118:54: error: dereferencing pointer to incomplete type
len = DH_compute_key((unsigned char*)data, pub, pkey->pkey.dh);
^
make: *** [ext/openssl/openssl.lo] Error 1
| 欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) | Powered by Discuz! X3.4 |