Opened 5 years ago
Closed 5 years ago
#1941 closed defect (invalid)
Deprecated function in ngx_event_openssl.c when compiled with LibreSSL
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | trivial | Milestone: | |
Component: | documentation | Version: | 1.17.x |
Keywords: | Cc: | ||
uname -a: | Linux xxx 4.15.0-xxx #74-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux | ||
nginx -V: |
--with-pcre --with-http_ssl_module --with-http_gzip_static_module --with-http_gunzip_module --with-http_geoip_module --with-http_stub_status
_module --with-stream --with-stream_ssl_module --with-stream_realip_module --with-stream_ssl_preread_module --with-http_v2_module --with-http_image_filter_module --add-module=./echo-nginx-module --with-http_dav_module |
Description (last modified by )
Change History (5)
comment:1 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 5 years ago
Description: | modified (diff) |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
It was indeed deprecated in release 3.0.2; you may want to double check.
( Pardon my mislabelling of component; I can't retarget that. )
Configured with only distributed modules:
$ ./configure --with-pcre --with-http_ssl_module --with-http_gzip_static_module --with-http_gunzip_module --with-http_geoip_module --with-http_stub_status_module --with-stream --with-stream_ssl_module --with-stream_realip_module --with-stream_ssl_preread_module --with-http_v2_module --with-http_image_filter_module --with-http_dav_module --- make --- src/event/ngx_event_openssl.c: In function ‘ngx_ssl_error’: src/event/ngx_event_openssl.c:3039:13: error: ‘ERR_peek_error_line_data’ is deprecated [-Werror=deprecated-declarations] n = ERR_peek_error_line_data(NULL, NULL, &data, &flags); In file included from /usr/local/include/openssl/opensslconf.h:126:0, from /usr/local/include/openssl/macros.h:10, from /usr/local/include/openssl/ssl.h:16, from src/event/ngx_event_openssl.h:15, from src/core/ngx_core.h:84, from src/event/ngx_event_openssl.c:9: /usr/local/include/openssl/err.h:296:1: note: declared here DEPRECATEDIN_3(unsigned long ERR_peek_error_line_data(const char **file, ^ cc1: all warnings being treated as errors objs/Makefile:932: recipe for target 'objs/src/event/ngx_event_openssl.o' failed make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/user/build/nginx-1.17.9' Makefile:8: recipe for target 'build' failed make: *** [build] Error 2
Version 0, edited 5 years ago by (next)
comment:4 by , 5 years ago
Description: | modified (diff) |
---|
comment:5 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
Make sure there are no 3rd party modules. If there are any, please reproduce the problem without any 3rd party modules.
Anyway, there's no such deprecations in the released versions of LibreSSL, closing as invalid.