summaryrefslogtreecommitdiff
path: root/lib/libssl/src/crypto/conf/conf_mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/src/crypto/conf/conf_mod.c')
-rw-r--r--lib/libssl/src/crypto/conf/conf_mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/conf/conf_mod.c b/lib/libssl/src/crypto/conf/conf_mod.c
index e286378cb19..ee9c677d9bd 100644
--- a/lib/libssl/src/crypto/conf/conf_mod.c
+++ b/lib/libssl/src/crypto/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);