summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/conf/conf_def.c
diff options
context:
space:
mode:
authortb <>2024-08-31 09:36:38 +0000
committertb <>2024-08-31 09:36:38 +0000
commit3eb4b5e423acd1dc7ea9a44c39f16acb3671ed45 (patch)
treef199bf103a0c147da71af423916d86ace5d79288 /src/lib/libcrypto/conf/conf_def.c
parent67af3e257ef9f1c1bdcc16b7bf9e501296005219 (diff)
downloadopenbsd-3eb4b5e423acd1dc7ea9a44c39f16acb3671ed45.tar.gz
openbsd-3eb4b5e423acd1dc7ea9a44c39f16acb3671ed45.tar.bz2
openbsd-3eb4b5e423acd1dc7ea9a44c39f16acb3671ed45.zip
Stop using conf->meth_data and make CONF_type_default const
Now that we no longer need to hang a poor man's ctype substitute off the conf structure, we can get rid of the otherwise unused meth_data member. This allows us to const correct CONF_type_default. Hopefully we can remove it soon. ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/conf/conf_def.c')
-rw-r--r--src/lib/libcrypto/conf/conf_def.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/conf/conf_def.c b/src/lib/libcrypto/conf/conf_def.c
index f0baee5261..5698bfdbaf 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.40 2024/08/31 09:34:05 tb Exp $ */ 1/* $OpenBSD: conf_def.c,v 1.41 2024/08/31 09:36: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 *
@@ -101,7 +101,6 @@ def_init_default(CONF *conf)
101 return 0; 101 return 0;
102 102
103 conf->meth = NCONF_default(); 103 conf->meth = NCONF_default();
104 conf->meth_data = CONF_type_default;
105 conf->data = NULL; 104 conf->data = NULL;
106 105
107 return 1; 106 return 1;