summaryrefslogtreecommitdiffstats
path: root/crypto/conf
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-01-22 02:06:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-01-22 02:06:33 +0000
commitf78d4a35f865d7678a8b8e7a496e72a19f3df014 (patch)
treea65569230a864f6ce9b1f7d3a0be9cd52bb67966 /crypto/conf
parentdf5eaa8a5297d42d1b44cfcf1210e7b016d3f7c1 (diff)
Constification.
Diffstat (limited to 'crypto/conf')
-rw-r--r--crypto/conf/conf.h4
-rw-r--r--crypto/conf/conf_mod.c6
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(;;)