diff options
Diffstat (limited to 'src/lib/libcrypto/conf/conf_mod.c')
-rw-r--r-- | src/lib/libcrypto/conf/conf_mod.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/conf/conf_mod.c b/src/lib/libcrypto/conf/conf_mod.c index ee9c677d9b..df1642a0a5 100644 --- a/src/lib/libcrypto/conf/conf_mod.c +++ b/src/lib/libcrypto/conf/conf_mod.c | |||
@@ -582,8 +582,14 @@ int CONF_parse_list(const char *list_, int sep, int nospc, | |||
582 | { | 582 | { |
583 | int ret; | 583 | int ret; |
584 | const char *lstart, *tmpend, *p; | 584 | const char *lstart, *tmpend, *p; |
585 | lstart = list_; | ||
586 | 585 | ||
586 | if(list_ == NULL) | ||
587 | { | ||
588 | CONFerr(CONF_F_CONF_PARSE_LIST, CONF_R_LIST_CANNOT_BE_NULL); | ||
589 | return 0; | ||
590 | } | ||
591 | |||
592 | lstart = list_; | ||
587 | for(;;) | 593 | for(;;) |
588 | { | 594 | { |
589 | if (nospc) | 595 | if (nospc) |