mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 13:03:39 +08:00
Don't try to set pmd if it is NULL.
This commit is contained in:
parent
92eb4c551d
commit
96d5997f5b
@ -35,7 +35,8 @@ static int parse_mod(char *line, int *pdsa2, int *pL, int *pN,
|
||||
*pL = atoi(line);
|
||||
*pdsa2 = 0;
|
||||
*pN = 160;
|
||||
*pmd = EVP_sha1();
|
||||
if (pmd)
|
||||
*pmd = EVP_sha1();
|
||||
return 1;
|
||||
}
|
||||
*pdsa2 = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user