Don't override the PATH_SEP definition if present
PATH_SEP is declared on Windows to be ";" and not ":" by include/config.h.w32. lib/base/context.c and lib/hx509.c must not override an existing setting. Otherwise, file lists cannot be separated and will be treated as a single file name. Change-Id: I5521188faca36e41fbae95fbb8942970eab261c8
This commit is contained in:

committed by
Nicolas Williams

parent
6bdbf3ca27
commit
aa47b5f1a3
@@ -125,7 +125,9 @@ hx509_get_instance(const char *libname)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define PATH_SEP ":"
|
||||
#ifndef PATH_SEP
|
||||
# define PATH_SEP ":"
|
||||
#endif
|
||||
static const char *hx509_config_file =
|
||||
"~/.hx509/config" PATH_SEP
|
||||
SYSCONFDIR "/hx509.conf" PATH_SEP
|
||||
|
Reference in New Issue
Block a user