diff options
author | Richard Levitte <levitte@openssl.org> | 2003-11-29 10:25:37 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2003-11-29 10:25:37 +0000 |
commit | 3822740ce361f6efb31f782596ad1510ea501895 (patch) | |
tree | cbc487598c3c333432a1e14357dc998da5b433ff /crypto | |
parent | 0d78bc3356823b8145d5fb99c33db68a141f80dd (diff) |
We're getting a clash with C++ because it has a type called 'list'.
Therefore, change all instances of the symbol 'list' to something else.
PR: 758
Submitted by: Frédéric Giudicelli <groups@newpki.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/conf/conf_mod.c | 4 | ||||
-rw-r--r-- | crypto/engine/eng_fat.c | 6 | ||||
-rw-r--r-- | crypto/engine/engine.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/crypto/conf/conf_mod.c b/crypto/conf/conf_mod.c index edcc08921c..8ceab6a21f 100644 --- a/crypto/conf/conf_mod.c +++ b/crypto/conf/conf_mod.c @@ -576,12 +576,12 @@ char *CONF_get1_default_config_file(void) * be used to parse comma separated lists for example. */ -int CONF_parse_list(const char *list, int sep, int nospc, +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; const char *lstart, *tmpend, *p; - lstart = list; + lstart = list_; for(;;) { diff --git a/crypto/engine/eng_fat.c b/crypto/engine/eng_fat.c index a5ffbec94c..1539ea039f 100644 --- a/crypto/engine/eng_fat.c +++ b/crypto/engine/eng_fat.c @@ -124,14 +124,14 @@ static int int_def_cb(const char *alg, int len, void *arg) } -int ENGINE_set_default_string(ENGINE *e, const char *list) +int ENGINE_set_default_string(ENGINE *e, const char *def_list) { unsigned int flags = 0; - if (!CONF_parse_list(list, ',', 1, int_def_cb, &flags)) + if (!CONF_parse_list(def_list, ',', 1, int_def_cb, &flags)) { ENGINEerr(ENGINE_F_ENGINE_SET_DEFAULT_STRING, ENGINE_R_INVALID_STRING); - ERR_add_error_data(2, "str=",list); + ERR_add_error_data(2, "str=",def_list); return 0; } return ENGINE_set_default(e, flags); diff --git a/crypto/engine/engine.h b/crypto/engine/engine.h index 3a8753d50f..bcbec5162c 100644 --- a/crypto/engine/engine.h +++ b/crypto/engine/engine.h @@ -563,7 +563,7 @@ ENGINE *ENGINE_get_digest_engine(int nid); * structure will have had its reference count up'd so the caller * should still free their own reference 'e'. */ int ENGINE_set_default_RSA(ENGINE *e); -int ENGINE_set_default_string(ENGINE *e, const char *list); +int ENGINE_set_default_string(ENGINE *e, const char *def_list); /* Same for the other "methods" */ int ENGINE_set_default_DSA(ENGINE *e); int ENGINE_set_default_ECDH(ENGINE *e); |