diff options
Diffstat (limited to 'dh.c')
-rw-r--r-- | dh.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -45,7 +45,8 @@ parse_prime(int linenum, char *line, struct dhgroup *dhg) | |||
45 | char *strsize, *gen, *prime; | 45 | char *strsize, *gen, *prime; |
46 | 46 | ||
47 | cp = line; | 47 | cp = line; |
48 | arg = strdelim(&cp); | 48 | if ((arg = strdelim(&cp)) == NULL) |
49 | return 0; | ||
49 | /* Ignore leading whitespace */ | 50 | /* Ignore leading whitespace */ |
50 | if (*arg == '\0') | 51 | if (*arg == '\0') |
51 | arg = strdelim(&cp); | 52 | arg = strdelim(&cp); |