From 56c3a135b239f4c8ccfdbbb1668880d4c39d5b87 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 11 Jun 2019 15:42:42 -0400 Subject: Add ERR_put_func_error, and use it. Change SYSerr to have the function name; remove SYS_F_xxx defines Add a test and documentation. Use get_last_socket_err, which removes some ifdef's in OpenSSL code. Reviewed-by: Tomas Mraz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9072) --- crypto/conf/conf_def.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/conf/conf_def.c') diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c index 277e4d64c9..f82dd3cc62 100644 --- a/crypto/conf/conf_def.c +++ b/crypto/conf/conf_def.c @@ -673,7 +673,7 @@ static BIO *process_include(char *include, OPENSSL_DIR_CTX **dirctx, BIO *next; if (stat(include, &st) < 0) { - SYSerr(SYS_F_STAT, errno); + SYSerr("stat", errno); ERR_add_error_data(1, include); /* missing include file is not fatal error */ return NULL; -- cgit v1.2.3