我将centos7 openssl升级 OpenSSL 1.1.0c再安装出错

问答中心分类: PHP我将centos7 openssl升级 OpenSSL 1.1.0c再安装出错
cfw2005 asked 8 年 ago
我将openssl 参考http://jingyan.baidu.com/article/466506583a085df548e5f841.html,升级OpenSSL 1.1.0c成功后,发现安装php 7.0.13安装不了,提示
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3991:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmp1);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3991:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmp1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3991:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmp1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3992:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmq1);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3992:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmq1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3992:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmq1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3993:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, iqmp);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3993:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, iqmp);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3993:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, iqmp);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4004:12: error: dereferencing pointer to incomplete type
if (pkey->pkey.dsa != NULL) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4008:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, p);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4008:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4008:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4009:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, q);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4009:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, q);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4009:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, q);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4010:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, g);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4010:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4010:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4011:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, priv_key);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4011:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4011:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4012:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, pub_key);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4012:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4012:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4020:12: error: dereferencing pointer to incomplete type
if (pkey->pkey.dh != NULL) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4024:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, p);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4024:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4024:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4025:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, g);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4025:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4025:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4026:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, priv_key);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4026:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4026:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4027:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, pub_key);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4027:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4027:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4035:12: error: dereferencing pointer to incomplete type
if (pkey->pkey.ec != NULL) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_private_encrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4592:14: error: dereferencing pointer to incomplete type
switch (pkey->type) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4598:11: error: dereferencing pointer to incomplete type
pkey->pkey.rsa,
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_private_decrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4652:14: error: dereferencing pointer to incomplete type
switch (pkey->type) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4658:10: error: dereferencing pointer to incomplete type
pkey->pkey.rsa,
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_public_encrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4718:14: error: dereferencing pointer to incomplete type
switch (pkey->type) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4724:11: error: dereferencing pointer to incomplete type
pkey->pkey.rsa,
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_public_decrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4779:14: error: dereferencing pointer to incomplete type
switch (pkey->type) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4785:10: error: dereferencing pointer to incomplete type
pkey->pkey.rsa,
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_sign’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4849:13: error: storage size of ‘md_ctx’ isn’t known
EVP_MD_CTX md_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_verify’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4908:13: error: storage size of ‘md_ctx’ isn’t known
EVP_MD_CTX md_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_seal’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4973:17: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_open’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5096:17: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_digest’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5224:13: error: storage size of ‘md_ctx’ isn’t known
EVP_MD_CTX md_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_encrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5305:17: error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_decrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5389:17: error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_dh_compute_key’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5516:24: error: dereferencing pointer to incomplete type
if (EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5516:55: error: dereferencing pointer to incomplete type
if (EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5523:39: error: dereferencing pointer to incomplete type
data = zend_string_alloc(DH_size(pkey->pkey.dh), 0);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5524:64: error: dereferencing pointer to incomplete type
len = DH_compute_key((unsigned char*)ZSTR_VAL(data), pub, pkey->pkey.dh);
^
make: *** [ext/openssl/openssl.lo] Error 1
/bin/sh /data/soft/lnmp/oneinstack/src/php-7.0.13/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/openssl/ -I/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/ -DPHP_ATOM_INC -I/data/soft/lnmp/oneinstack/src/php-7.0.13/include -I/data/soft/lnmp/oneinstack/src/php-7.0.13/main -I/data/soft/lnmp/oneinstack/src/php-7.0.13 -I/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/date/lib -I/usr/include/libxml2 -I/usr/local/include -I/usr/include/freetype2 -I/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/mbstring/oniguruma -I/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/mbstring/libmbfl -I/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/mbstring/libmbfl/mbfl -I/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/sqlite3/libsqlite -I/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/zip/lib -I/data/soft/lnmp/oneinstack/src/php-7.0.13/TSRM -I/data/soft/lnmp/oneinstack/src/php-7.0.13/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -c /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c -o ext/openssl/openssl.lo
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘add_assoc_name_entry’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:688:4: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553) [-Wdeprecated-declarations]
to_add = ASN1_STRING_data(str);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘asn1_time_to_time_t’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:739:2: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553) [-Wdeprecated-declarations]
if (ASN1_STRING_length(timestr) != strlen((const char*)ASN1_STRING_data(timestr))) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:754:2: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553) [-Wdeprecated-declarations]
strbuf = estrdup((char *)ASN1_STRING_data(timestr));
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘php_openssl_get_evp_md_from_algo’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:1095:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
mdtype = (EVP_MD *) EVP_dss1();
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_spki_export_challenge’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:1782:2: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553) [-Wdeprecated-declarations]
RETVAL_STRING((char *) ASN1_STRING_data(spki->spkac->challenge));
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘openssl_x509v3_subjectAltName’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:1940:15: error: dereferencing pointer to incomplete type
p = extension->value->data;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:1941:20: error: dereferencing pointer to incomplete type
length = extension->value->length;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:1961:5: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553) [-Wdeprecated-declarations]
BIO_write(bio, ASN1_STRING_data(as),
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:1967:5: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553) [-Wdeprecated-declarations]
BIO_write(bio, ASN1_STRING_data(as),
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:1973:5: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553) [-Wdeprecated-declarations]
BIO_write(bio, ASN1_STRING_data(as),
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_x509_parse’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:2018:10: error: dereferencing pointer to incomplete type
if (cert->name) {
^
In file included from /data/soft/lnmp/oneinstack/src/php-7.0.13/main/php.h:39:0,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:29:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:2019:46: error: dereferencing pointer to incomplete type
add_assoc_string(return_value, "name", cert->name);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/Zend/zend_API.h:407:96: note: in definition of macro ‘add_assoc_string’
#define add_assoc_string(__arg, __key, __str) add_assoc_string_e__arg, __key, strlen(__key), __str)
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:2047:30: error: dereferencing pointer to incomplete type
sig_nid = OBJ_obj2nid((cert)->sig_alg->algorithm);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘php_openssl_is_private_key’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3525:14: error: dereferencing pointer to incomplete type
switch (pkey->type) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3530:12: error: dereferencing pointer to incomplete type
if (pkey->pkey.rsa != NULL && (NULL == pkey->pkey.rsa->p || NULL == pkey->pkey.rsa->q)) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3530:47: error: dereferencing pointer to incomplete type
if (pkey->pkey.rsa != NULL && (NULL == pkey->pkey.rsa->p || NULL == pkey->pkey.rsa->q)) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3530:76: error: dereferencing pointer to incomplete type
if (pkey->pkey.rsa != NULL && (NULL == pkey->pkey.rsa->p || NULL == pkey->pkey.rsa->q)) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3543:20: error: dereferencing pointer to incomplete type
if (NULL == pkey->pkey.dsa->p || NULL == pkey->pkey.dsa->q || NULL == pkey->pkey.dsa->priv_key){
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3543:49: error: dereferencing pointer to incomplete type
if (NULL == pkey->pkey.dsa->p || NULL == pkey->pkey.dsa->q || NULL == pkey->pkey.dsa->priv_key){
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3543:78: error: dereferencing pointer to incomplete type
if (NULL == pkey->pkey.dsa->p || NULL == pkey->pkey.dsa->q || NULL == pkey->pkey.dsa->priv_key){
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3552:20: error: dereferencing pointer to incomplete type
if (NULL == pkey->pkey.dh->p || NULL == pkey->pkey.dh->priv_key) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3552:48: error: dereferencing pointer to incomplete type
if (NULL == pkey->pkey.dh->p || NULL == pkey->pkey.dh->priv_key) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3561:45: error: dereferencing pointer to incomplete type
if ( NULL == EC_KEY_get0_private_key(pkey->pkey.ec)) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘php_openssl_pkey_init_dsa’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3597:10: error: dereferencing pointer to incomplete type
if (!dsa->p || !dsa->q || !dsa->g) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3597:21: error: dereferencing pointer to incomplete type
if (!dsa->p || !dsa->q || !dsa->g) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3597:32: error: dereferencing pointer to incomplete type
if (!dsa->p || !dsa->q || !dsa->g) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3600:9: error: dereferencing pointer to incomplete type
if (dsa->priv_key || dsa->pub_key) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3600:26: error: dereferencing pointer to incomplete type
if (dsa->priv_key || dsa->pub_key) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3609:10: error: dereferencing pointer to incomplete type
if (!dsa->pub_key || BN_is_zero(dsa->pub_key)) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3609:37: error: dereferencing pointer to incomplete type
if (!dsa->pub_key || BN_is_zero(dsa->pub_key)) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘php_openssl_pkey_init_dh’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3620:9: error: dereferencing pointer to incomplete type
if (!dh->p || !dh->g) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3620:19: error: dereferencing pointer to incomplete type
if (!dh->p || !dh->g) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3623:8: error: dereferencing pointer to incomplete type
if (dh->pub_key) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_pkey_new’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3657:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), rsa, n);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3658:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), rsa, e);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3659:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), rsa, d);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3660:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), rsa, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3661:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), rsa, q);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3662:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), rsa, dmp1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3663:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), rsa, dmq1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3664:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), rsa, iqmp);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3665:13: error: dereferencing pointer to incomplete type
if (rsa->n && rsa->d) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3665:23: error: dereferencing pointer to incomplete type
if (rsa->n && rsa->d) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3681:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), dsa, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3682:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), dsa, q);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3683:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), dsa, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3684:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), dsa, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3685:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), dsa, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3702:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), dh, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3703:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), dh, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3704:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), dh, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3588:9: error: dereferencing pointer to incomplete type
_type->_name = BN_bin2bn( \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3705:6: note: in expansion of macro ‘OPENSSL_PKEY_SET_BN’
OPENSSL_PKEY_SET_BN(Z_ARRVAL_P(data), dh, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_pkey_export_to_file’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3784:28: error: dereferencing pointer to incomplete type
switch (EVP_PKEY_type(key->type)) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_pkey_export’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3854:28: error: dereferencing pointer to incomplete type
switch (EVP_PKEY_type(key->type)) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_pkey_get_details’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3977:28: error: dereferencing pointer to incomplete type
switch (EVP_PKEY_type(pkey->type)) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3982:12: error: dereferencing pointer to incomplete type
if (pkey->pkey.rsa != NULL) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3986:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, n);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3986:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, n);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3986:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, n);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3987:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, e);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3987:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, e);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3987:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, e);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3988:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, d);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3988:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, d);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3988:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, d);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3989:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, p);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3989:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3989:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3990:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, q);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3990:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, q);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3990:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, q);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3991:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmp1);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3991:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmp1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3991:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmp1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3992:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmq1);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3992:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmq1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3992:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, dmq1);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3993:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, iqmp);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3993:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, iqmp);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3993:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(rsa, iqmp);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4004:12: error: dereferencing pointer to incomplete type
if (pkey->pkey.dsa != NULL) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4008:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, p);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4008:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4008:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4009:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, q);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4009:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, q);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4009:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, q);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4010:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, g);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4010:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4010:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4011:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, priv_key);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4011:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4011:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4012:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, pub_key);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4012:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4012:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dsa, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4020:12: error: dereferencing pointer to incomplete type
if (pkey->pkey.dh != NULL) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4024:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, p);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4024:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4024:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, p);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4025:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, g);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4025:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4025:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, g);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4026:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, priv_key);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4026:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4026:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, priv_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3575:11: error: dereferencing pointer to incomplete type
if (pkey->pkey._type->_name != NULL) { \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4027:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, pub_key);
^
In file included from /usr/local/include/openssl/asn1.h:24:0,
from /usr/local/include/openssl/objects.h:916,
from /usr/local/include/openssl/evp.h:27,
from /data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:44:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3576:31: error: dereferencing pointer to incomplete type
int len = BN_num_bytes(pkey->pkey._type->_name); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4027:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:3578:18: error: dereferencing pointer to incomplete type
BN_bn2bin(pkey->pkey._type->_name, (unsigned char*)ZSTR_VAL(str)); \
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4027:5: note: in expansion of macro ‘OPENSSL_PKEY_GET_BN’
OPENSSL_PKEY_GET_BN(dh, pub_key);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4035:12: error: dereferencing pointer to incomplete type
if (pkey->pkey.ec != NULL) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_private_encrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4592:14: error: dereferencing pointer to incomplete type
switch (pkey->type) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4598:11: error: dereferencing pointer to incomplete type
pkey->pkey.rsa,
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_private_decrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4652:14: error: dereferencing pointer to incomplete type
switch (pkey->type) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4658:10: error: dereferencing pointer to incomplete type
pkey->pkey.rsa,
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_public_encrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4718:14: error: dereferencing pointer to incomplete type
switch (pkey->type) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4724:11: error: dereferencing pointer to incomplete type
pkey->pkey.rsa,
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_public_decrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4779:14: error: dereferencing pointer to incomplete type
switch (pkey->type) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4785:10: error: dereferencing pointer to incomplete type
pkey->pkey.rsa,
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_sign’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4849:13: error: storage size of ‘md_ctx’ isn’t known
EVP_MD_CTX md_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_verify’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4908:13: error: storage size of ‘md_ctx’ isn’t known
EVP_MD_CTX md_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_seal’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:4973:17: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_open’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5096:17: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_digest’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5224:13: error: storage size of ‘md_ctx’ isn’t known
EVP_MD_CTX md_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_encrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5305:17: error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_decrypt’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5389:17: error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c: In function ‘zif_openssl_dh_compute_key’:
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5516:24: error: dereferencing pointer to incomplete type
if (EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5516:55: error: dereferencing pointer to incomplete type
if (EVP_PKEY_type(pkey->type) != EVP_PKEY_DH || !pkey->pkey.dh) {
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5523:39: error: dereferencing pointer to incomplete type
data = zend_string_alloc(DH_size(pkey->pkey.dh), 0);
^
/data/soft/lnmp/oneinstack/src/php-7.0.13/ext/openssl/openssl.c:5524:64: error: dereferencing pointer to incomplete type
len = DH_compute_key((unsigned char*)ZSTR_VAL(data), pub, pkey->pkey.dh);
^
make: *** [ext/openssl/openssl.lo] Error 1

1 Answers
oneinstack answered 8 年 ago
很简单,就是官方不支持。。。