summaryrefslogtreecommitdiff
path: root/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'dh.c')
-rw-r--r--dh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh.c b/dh.c
index a30b704fb..e8ce3d1a9 100644
--- a/dh.c
+++ b/dh.c
@@ -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);