报错内容如下:
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_init’中:
src/event/ngx_event_openssl.c:112:5: 警告:不建议使用‘OPENSSL_config’(声明于 /usr/local/openssl-1.1.1-pre9/.openssl/include/openssl/conf.h:91) [-Wdeprecated-declarations]
OPENSSL_config(NULL);
^
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_rsa512_key_callback’中:
src/event/ngx_event_openssl.c:753:9: 警告:不建议使用‘RSA_generate_key’(声明于 /usr/local/openssl-1.1.1-pre9/.openssl/include/openssl/rsa.h:234) [-Wdeprecated-declarations]
key = RSA_generate_key(512, RSA_F4, NULL, NULL);
^
src/event/ngx_event_openssl.c: 在函数‘ngx_ssl_dhparam’中:
src/event/ngx_event_openssl.c:943:11: 错误:提领指向不完全类型的指针
dh->p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL);
^
src/event/ngx_event_openssl.c:944:11: 错误:提领指向不完全类型的指针
dh->g = BN_bin2bn(dh1024_g, sizeof(dh1024_g), NULL);
^
src/event/ngx_event_openssl.c