summaryrefslogtreecommitdiff
path: root/crypto/conf
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2002-06-13 17:40:27 +0000
committerLutz Jänicke <jaenicke@openssl.org>2002-06-13 17:40:27 +0000
commit40889b9cd36ba6233712d163c46154eba4a26ad7 (patch)
treef4a5ab0b224dbe89a38bf9528c1c41921a29ac30 /crypto/conf
parent99889b46c95711397389959a093f5556ebb39e4b (diff)
downloadopenssl-new-40889b9cd36ba6233712d163c46154eba4a26ad7.tar.gz
Add missing prototypes.
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de> PR: 89
Diffstat (limited to 'crypto/conf')
-rw-r--r--crypto/conf/conf.h8
-rw-r--r--crypto/conf/conf_lib.c5
2 files changed, 8 insertions, 5 deletions
diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h
index 3c03fb19c0..f4671442ab 100644
--- a/crypto/conf/conf.h
+++ b/crypto/conf/conf.h
@@ -129,6 +129,7 @@ int CONF_dump_fp(LHASH *conf, FILE *out);
int CONF_dump_bio(LHASH *conf, BIO *out);
void OPENSSL_config(const char *config_name);
+void OPENSSL_no_config(void);
/* New conf code. The semantics are different from the functions above.
If that wasn't the case, the above functions would have been replaced */
@@ -141,10 +142,10 @@ struct conf_st
};
CONF *NCONF_new(CONF_METHOD *meth);
-CONF_METHOD *NCONF_default();
-CONF_METHOD *NCONF_WIN32();
+CONF_METHOD *NCONF_default(void);
+CONF_METHOD *NCONF_WIN32(void);
#if 0 /* Just to give you an idea of what I have in mind */
-CONF_METHOD *NCONF_XML();
+CONF_METHOD *NCONF_XML(void);
#endif
void NCONF_free(CONF *conf);
void NCONF_free_data(CONF *conf);
@@ -176,6 +177,7 @@ int CONF_modules_load_file(const char *filename, const char *appname,
unsigned long flags);
void CONF_modules_unload(int all);
void CONF_modules_finish(void);
+void CONF_modules_free(void);
int CONF_module_add(const char *name, conf_init_func *ifunc,
conf_finish_func *ffunc);
diff --git a/crypto/conf/conf_lib.c b/crypto/conf/conf_lib.c
index 7998f34c7b..6a3cf109dd 100644
--- a/crypto/conf/conf_lib.c
+++ b/crypto/conf/conf_lib.c
@@ -382,8 +382,9 @@ int NCONF_dump_bio(const CONF *conf, BIO *out)
return conf->meth->dump(conf, out);
}
+
/* This function should be avoided */
-#undef NCONF_get_number
+#if 0
long NCONF_get_number(CONF *conf,char *group,char *name)
{
int status;
@@ -397,4 +398,4 @@ long NCONF_get_number(CONF *conf,char *group,char *name)
}
return ret;
}
-
+#endif