提交 96d5997f 编写于 作者: D Dr. Stephen Henson

Don't try to set pmd if it is NULL.

上级 92eb4c55
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册