Commit 2fef6785 authored by Ulf Möller's avatar Ulf Möller
Browse files

Write random seed file in binary mode.

Submitted by: Richard Levitte <levitte@stacken.kth.se>
parent 953937bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;