diff options
author | Ben Laurie <ben@openssl.org> | 2002-01-18 10:59:43 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2002-01-18 10:59:43 +0000 |
commit | cca28b291c2c097c2006cb372c18b937c976c371 (patch) | |
tree | a95ad8f69d43508a49d565067167237eefca4fc4 /crypto/conf/conf_mod.c | |
parent | 062d3e39e78dc8e2536822521c64ff38e44ddab4 (diff) |
Constification, missing declaration, update dependencies.
Diffstat (limited to 'crypto/conf/conf_mod.c')
-rw-r--r-- | crypto/conf/conf_mod.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crypto/conf/conf_mod.c b/crypto/conf/conf_mod.c index 3a1888a004..27c11c1a76 100644 --- a/crypto/conf/conf_mod.c +++ b/crypto/conf/conf_mod.c @@ -109,7 +109,7 @@ static STACK_OF(CONF_IMODULE) *initialized_modules = NULL; static void module_free(CONF_MODULE *md); static void module_finish(CONF_IMODULE *imod); static int module_run(CONF *cnf, char *name, char *value, unsigned long flags); -static CONF_MODULE *module_add(DSO *dso, char *name, +static CONF_MODULE *module_add(DSO *dso, const char *name, conf_init_func *ifunc, conf_finish_func *ffunc); static CONF_MODULE *module_find(char *name); static int module_init(CONF_MODULE *pmod, char *name, char *value, CONF *cnf); @@ -262,7 +262,7 @@ static CONF_MODULE *module_load_dso(CONF *cnf, char *name, char *value, unsigned } /* add module to list */ -static CONF_MODULE *module_add(DSO *dso, char *name, +static CONF_MODULE *module_add(DSO *dso, const char *name, conf_init_func *ifunc, conf_finish_func *ffunc) { CONF_MODULE *tmod = NULL; @@ -445,7 +445,8 @@ static void module_finish(CONF_IMODULE *imod) /* Add a static module to OpenSSL */ -int CONF_module_add(char *name, conf_init_func *ifunc, conf_finish_func *ffunc) +int CONF_module_add(const char *name, conf_init_func *ifunc, + conf_finish_func *ffunc) { if (module_add(NULL, name, ifunc, ffunc)) return 1; |