summaryrefslogtreecommitdiff
path: root/lib/libcrypto/conf/conf_mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/conf/conf_mod.c')
-rw-r--r--lib/libcrypto/conf/conf_mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/conf/conf_mod.c b/lib/libcrypto/conf/conf_mod.c
index e286378cb19..ee9c677d9bd 100644
--- a/lib/libcrypto/conf/conf_mod.c
+++ b/lib/libcrypto/conf/conf_mod.c
@@ -588,7 +588,7 @@ int CONF_parse_list(const char *list_, int sep, int nospc,
{
if (nospc)
{
- while(isspace((unsigned char)*lstart))
+ while(*lstart && isspace((unsigned char)*lstart))
lstart++;
}
p = strchr(lstart, sep);