Changes between Initial Version and Version 1 of Ticket #1941, comment 2


Ignore:
Timestamp:
03/10/20 18:25:00 (6 months ago)
Author:
m0rb@…

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1941, comment 2

    initial v1  
    1 
    2 It was indeed deprecated in release 3.0.2; you may want to double check.
    3 ( Pardon my mislabelling of component; I can't retarget that. )
    4 
    5 Configured with only distributed modules:
    6 {{{
    7 $ ./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
    8 
    9 --- make ---
    10 
    11 src/event/ngx_event_openssl.c: In function ‘ngx_ssl_error’:
    12 src/event/ngx_event_openssl.c:3039:13: error: ‘ERR_peek_error_line_data’ is deprecated [-Werror=deprecated-declarations]
    13              n = ERR_peek_error_line_data(NULL, NULL, &data, &flags);
    14 
    15 In file included from /usr/local/include/openssl/opensslconf.h:126:0,
    16                  from /usr/local/include/openssl/macros.h:10,
    17                  from /usr/local/include/openssl/ssl.h:16,
    18                  from src/event/ngx_event_openssl.h:15,
    19                  from src/core/ngx_core.h:84,
    20                  from src/event/ngx_event_openssl.c:9:
    21 /usr/local/include/openssl/err.h:296:1: note: declared here
    22  DEPRECATEDIN_3(unsigned long ERR_peek_error_line_data(const char **file,
    23  ^
    24 cc1: all warnings being treated as errors
    25 objs/Makefile:932: recipe for target 'objs/src/event/ngx_event_openssl.o' failed
    26 make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1
    27 make[1]: *** Waiting for unfinished jobs....
    28 make[1]: Leaving directory '/home/user/build/nginx-1.17.9'
    29 Makefile:8: recipe for target 'build' failed
    30 make: *** [build] Error 2
    31 
    32 }}}