summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/conf/conf.h
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.h
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.h')
-rw-r--r--src/lib/libcrypto/conf/conf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/conf/conf.h b/src/lib/libcrypto/conf/conf.h
index 59222e8ca1..f5c449e547 100644
--- a/src/lib/libcrypto/conf/conf.h
+++ b/src/lib/libcrypto/conf/conf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: conf.h,v 1.20 2024/08/31 09:34:05 tb Exp $ */ 1/* $OpenBSD: conf.h,v 1.21 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 *
@@ -127,7 +127,6 @@ void OPENSSL_no_config(void);
127 127
128struct conf_st { 128struct conf_st {
129 CONF_METHOD *meth; 129 CONF_METHOD *meth;
130 void *meth_data;
131 LHASH_OF(CONF_VALUE) *data; 130 LHASH_OF(CONF_VALUE) *data;
132}; 131};
133 132