Don't try to set pmd if it is NULL.
This commit is contained in:
parent
92eb4c551d
commit
96d5997f5b
@ -35,6 +35,7 @@ static int parse_mod(char *line, int *pdsa2, int *pL, int *pN,
|
|||||||
*pL = atoi(line);
|
*pL = atoi(line);
|
||||||
*pdsa2 = 0;
|
*pdsa2 = 0;
|
||||||
*pN = 160;
|
*pN = 160;
|
||||||
|
if (pmd)
|
||||||
*pmd = EVP_sha1();
|
*pmd = EVP_sha1();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user