summaryrefslogtreecommitdiffstats
path: root/crypto/conf/conf_def.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2019-06-11 15:42:42 -0400
committerTomas Mraz <tmraz@fedoraproject.org>2019-07-22 16:24:56 +0200
commit56c3a135b239f4c8ccfdbbb1668880d4c39d5b87 (patch)
tree22bf3958a3b0046ae690e57dd5eaad90c6fcf25a /crypto/conf/conf_def.c
parent1372560f64c9a7cfad1979fa8c41bee335a04373 (diff)
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 <tmraz@fedoraproject.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9072)
Diffstat (limited to 'crypto/conf/conf_def.c')
-rw-r--r--crypto/conf/conf_def.c2
1 files changed, 1 insertions, 1 deletions
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;