﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
1941	Deprecated function in ngx_event_openssl.c when compiled with LibreSSL	m0rb@…		"Hi, 

It appears that ERR_peek_error_line_data has been deprecated in favor of ERR_peek_error_all

{{{
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,
 ^
}}}

as per LibreSSL's openssl/err.h: 

{{{
unsigned long ERR_peek_error_all(const char **file, int *line,
                                 const char **func,
                                 const char **data, int *flags);
DEPRECATEDIN_3(unsigned long ERR_peek_error_line_data(const char **file, int *line, const char **data, int *flags))
}}}

"	defect	new	trivial		documentation	1.17.x				Linux xxx 4.15.0-xxx #74-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux	" --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"
