summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/conf/conf.h
diff options
context:
space:
mode:
authortb <>2024-08-31 09:50:52 +0000
committertb <>2024-08-31 09:50:52 +0000
commit47d8e9d63b0c4faada5cbf609df1dd05bc3ffa5a (patch)
tree529b0e697861f5284b0451f23478abbf56fcf742 /src/lib/libcrypto/conf/conf.h
parentaf86cb620ed97ba6a9aaccee083551eb8285963a (diff)
downloadopenbsd-47d8e9d63b0c4faada5cbf609df1dd05bc3ffa5a.tar.gz
openbsd-47d8e9d63b0c4faada5cbf609df1dd05bc3ffa5a.tar.bz2
openbsd-47d8e9d63b0c4faada5cbf609df1dd05bc3ffa5a.zip
Remove more CONF_* functions that are no longer needed
This is the next layer of unused cruft that can now go. The code lovingly called it 'the "CONF classic" functions'. No tear was shed. Don't worry, we still have the "New CONF" functions! ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/conf/conf.h')
-rw-r--r--src/lib/libcrypto/conf/conf.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/lib/libcrypto/conf/conf.h b/src/lib/libcrypto/conf/conf.h
index 28b5f9d583..5796ee29ac 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.24 2024/08/31 09:44:00 tb Exp $ */ 1/* $OpenBSD: conf.h,v 1.25 2024/08/31 09:50:52 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 *
@@ -104,20 +104,7 @@ typedef void conf_finish_func(CONF_IMODULE *md);
104#define CONF_MFLAGS_IGNORE_MISSING_FILE 0x10 104#define CONF_MFLAGS_IGNORE_MISSING_FILE 0x10
105#define CONF_MFLAGS_DEFAULT_SECTION 0x20 105#define CONF_MFLAGS_DEFAULT_SECTION 0x20
106 106
107int CONF_set_default_method(CONF_METHOD *meth);
108void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash); 107void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash);
109LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file,
110 long *eline);
111LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp,
112 long *eline);
113LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, long *eline);
114STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf,
115 const char *section);
116char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf, const char *group,
117 const char *name);
118long CONF_get_number(LHASH_OF(CONF_VALUE) *conf, const char *group,
119 const char *name);
120void CONF_free(LHASH_OF(CONF_VALUE) *conf);
121 108
122void OPENSSL_config(const char *config_name); 109void OPENSSL_config(const char *config_name);
123void OPENSSL_no_config(void); 110void OPENSSL_no_config(void);