From ff988500c2f39ae61b2836167b6e0e7b2021220c Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Wed, 31 Jul 2019 15:24:20 -0400 Subject: Replace FUNCerr with ERR_raise_data Reviewed-by: Paul Dale Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/9496) --- crypto/conf/conf_def.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crypto/conf/conf_def.c') diff --git a/crypto/conf/conf_def.c b/crypto/conf/conf_def.c index d6cd315479..cbf0b2b183 100644 --- a/crypto/conf/conf_def.c +++ b/crypto/conf/conf_def.c @@ -673,8 +673,9 @@ static BIO *process_include(char *include, OPENSSL_DIR_CTX **dirctx, BIO *next; if (stat(include, &st) < 0) { - FUNCerr("stat", errno); - ERR_add_error_data(1, include); + ERR_raise_data(ERR_LIB_SYS, errno, + "calling stat(%s)", + include); /* missing include file is not fatal error */ return NULL; } -- cgit v1.2.3