diff options
Diffstat (limited to 'crypto/conf')
-rw-r--r-- | crypto/conf/conf.h | 4 | ||||
-rw-r--r-- | crypto/conf/conf_mod.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h index 882d75c74e..a0bbeb4d58 100644 --- a/crypto/conf/conf.h +++ b/crypto/conf/conf.h @@ -190,8 +190,8 @@ void CONF_module_set_usr_data(CONF_MODULE *pmod, void *usr_data); char *CONF_get1_default_config_file(void); -int CONF_parse_list(char *list, int sep, int nospc, - int (*list_cb)(char *elem, int len, void *usr), void *arg); +int CONF_parse_list(const char *list, int sep, int nospc, + int (*list_cb)(const char *elem, int len, void *usr), void *arg); /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes diff --git a/crypto/conf/conf_mod.c b/crypto/conf/conf_mod.c index 100d72ed03..23e1f191da 100644 --- a/crypto/conf/conf_mod.c +++ b/crypto/conf/conf_mod.c @@ -557,11 +557,11 @@ char *CONF_get1_default_config_file(void) * be used to parse comma separated lists for example. */ -int CONF_parse_list(char *list, int sep, int nospc, - int (*list_cb)(char *elem, int len, void *usr), void *arg) +int CONF_parse_list(const char *list, int sep, int nospc, + int (*list_cb)(const char *elem, int len, void *usr), void *arg) { int ret; - char *lstart, *tmpend, *p; + const char *lstart, *tmpend, *p; lstart = list; for(;;) |