summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/conf
diff options
context:
space:
mode:
authortb <>2025-05-10 05:54:39 +0000
committertb <>2025-05-10 05:54:39 +0000
commit41e8f99dd1625a9f0c80ce9d4383e95b18e85709 (patch)
tree70b02845e44482dbe558f0dc5d503c5d977aa73d /src/lib/libcrypto/conf
parentf1cb2042ed58c0f2125c881f6786e4e3580203e7 (diff)
downloadopenbsd-41e8f99dd1625a9f0c80ce9d4383e95b18e85709.tar.gz
openbsd-41e8f99dd1625a9f0c80ce9d4383e95b18e85709.tar.bz2
openbsd-41e8f99dd1625a9f0c80ce9d4383e95b18e85709.zip
Use err_local.h rather than err.h in most places
ok jsing
Diffstat (limited to 'src/lib/libcrypto/conf')
-rw-r--r--src/lib/libcrypto/conf/conf_def.c4
-rw-r--r--src/lib/libcrypto/conf/conf_lib.c4
-rw-r--r--src/lib/libcrypto/conf/conf_mod.c5
3 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/libcrypto/conf/conf_def.c b/src/lib/libcrypto/conf/conf_def.c
index 0173a7117c..fe9391685d 100644
--- a/src/lib/libcrypto/conf/conf_def.c
+++ b/src/lib/libcrypto/conf/conf_def.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: conf_def.c,v 1.44 2024/08/31 09:46:17 tb Exp $ */ 1/* $OpenBSD: conf_def.c,v 1.45 2025/05/10 05:54:38 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -63,12 +63,12 @@
63 63
64#include <openssl/buffer.h> 64#include <openssl/buffer.h>
65#include <openssl/conf.h> 65#include <openssl/conf.h>
66#include <openssl/err.h>
67#include <openssl/lhash.h> 66#include <openssl/lhash.h>
68#include <openssl/stack.h> 67#include <openssl/stack.h>
69 68
70#include "conf_def.h" 69#include "conf_def.h"
71#include "conf_local.h" 70#include "conf_local.h"
71#include "err_local.h"
72 72
73#define MAX_CONF_VALUE_LENGTH 65536 73#define MAX_CONF_VALUE_LENGTH 65536
74 74
diff --git a/src/lib/libcrypto/conf/conf_lib.c b/src/lib/libcrypto/conf/conf_lib.c
index 863e1c9475..84b4f8b0a7 100644
--- a/src/lib/libcrypto/conf/conf_lib.c
+++ b/src/lib/libcrypto/conf/conf_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: conf_lib.c,v 1.25 2025/03/08 09:35:53 tb Exp $ */ 1/* $OpenBSD: conf_lib.c,v 1.26 2025/05/10 05:54:38 tb Exp $ */
2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL 2/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -58,11 +58,11 @@
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include <openssl/crypto.h> 60#include <openssl/crypto.h>
61#include <openssl/err.h>
62#include <openssl/conf.h> 61#include <openssl/conf.h>
63#include <openssl/lhash.h> 62#include <openssl/lhash.h>
64 63
65#include "conf_local.h" 64#include "conf_local.h"
65#include "err_local.h"
66 66
67static const CONF_METHOD *default_CONF_method = NULL; 67static const CONF_METHOD *default_CONF_method = NULL;
68 68
diff --git a/src/lib/libcrypto/conf/conf_mod.c b/src/lib/libcrypto/conf/conf_mod.c
index 0e07bb3ea5..6e697cc478 100644
--- a/src/lib/libcrypto/conf/conf_mod.c
+++ b/src/lib/libcrypto/conf/conf_mod.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: conf_mod.c,v 1.40 2024/10/10 06:51:22 tb Exp $ */ 1/* $OpenBSD: conf_mod.c,v 1.41 2025/05/10 05:54:38 tb Exp $ */
2/* Written by Stephen Henson (steve@openssl.org) for the OpenSSL 2/* Written by Stephen Henson (steve@openssl.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -63,9 +63,10 @@
63 63
64#include <openssl/conf.h> 64#include <openssl/conf.h>
65#include <openssl/crypto.h> 65#include <openssl/crypto.h>
66#include <openssl/err.h>
67#include <openssl/x509.h> 66#include <openssl/x509.h>
68 67
68#include "err_local.h"
69
69/* This structure contains data about supported modules. */ 70/* This structure contains data about supported modules. */
70struct conf_module_st { 71struct conf_module_st {
71 /* Name of the module */ 72 /* Name of the module */