projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
953937b
)
Write random seed file in binary mode.
author
Ulf Möller
<ulf@openssl.org>
Fri, 16 Apr 1999 11:16:00 +0000
(11:16 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Fri, 16 Apr 1999 11:16:00 +0000
(11:16 +0000)
Submitted by: Richard Levitte <levitte@stacken.kth.se>
crypto/rand/randfile.c
patch
|
blob
|
history
diff --git
a/crypto/rand/randfile.c
b/crypto/rand/randfile.c
index 3ae95f9012f1f3acb51a3787517a93d3815d1acb..c8744318f6746458b55b3ab77a2687f2c2a153fd 100644
(file)
--- a/
crypto/rand/randfile.c
+++ b/
crypto/rand/randfile.c
@@
-116,7
+116,7
@@
const char *file;
FILE *out;
int n;
- out=fopen(file,"w");
+ out=fopen(file,"w
b
");
if (out == NULL) goto err;
chmod(file,0600);
n=RAND_DATA;