提交 2fef6785 编写于 作者: U Ulf Möller

Write random seed file in binary mode.

Submitted by: Richard Levitte <levitte@stacken.kth.se>
上级 953937bd
......@@ -116,7 +116,7 @@ const char *file;
FILE *out;
int n;
out=fopen(file,"w");
out=fopen(file,"wb");
if (out == NULL) goto err;
chmod(file,0600);
n=RAND_DATA;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册