Changes between Version 2 and Version 4 of Ticket #1941


Ignore:
Timestamp:
03/10/20 18:24:42 (6 months ago)
Author:
m0rb@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1941 – Description

    v2 v4  
    1 Hi,
    2 
    3 It appears that ERR_peek_error_line_data has been deprecated in favor of ERR_peek_error_all in LibreSSL 3.0.2
    4 
    5 {{{
    6 src/event/ngx_event_openssl.c: In function ‘ngx_ssl_error’:
    7 src/event/ngx_event_openssl.c:3039:13: error: ‘ERR_peek_error_line_data’ is deprecated [-Werror=deprecated-declarations]
    8              n = ERR_peek_error_line_data(NULL, NULL, &data, &flags);
    9 
    10 In file included from /usr/local/include/openssl/opensslconf.h:126:0,
    11                  from /usr/local/include/openssl/macros.h:10,
    12                  from /usr/local/include/openssl/ssl.h:16,
    13                  from src/event/ngx_event_openssl.h:15,
    14                  from src/core/ngx_core.h:84,
    15                  from src/event/ngx_event_openssl.c:9:
    16 /usr/local/include/openssl/err.h:296:1: note: declared here
    17  DEPRECATEDIN_3(unsigned long ERR_peek_error_line_data(const char **file,
    18  ^
    19 }}}
    20 
    21 as per LibreSSL 3.0.2's openssl/err.h:
    22 
    23 {{{
    24 unsigned long ERR_peek_error_all(const char **file, int *line,
    25                                  const char **func,
    26                                  const char **data, int *flags);
    27 DEPRECATEDIN_3(unsigned long ERR_peek_error_line_data(const char **file, int *line, const char **data, int *flags))
    28 }}}
    29