It seems a little silly that the random seed file gets loaded in
binary mode, but written in non-binary. Here's the fix to make
writing binary as well:
Index: crypto/rand/randfile.c
===================================================================
RCS file: /src/packages/openssl/repository//openssl/crypto/rand/randfile.c,v
retrieving revision 1.5
diff -u -r1.5 randfile.c
--- crypto/rand/randfile.c 1999/02/09 23:01:03 1.5
+++ crypto/rand/randfile.c 1999/04/16 08:46:54
@@ -116,7 +116,7 @@
FILE *out;
int n;
- out=fopen(file,"w");
+ out=fopen(file,"wb");
if (out == NULL) goto err;
chmod(file,0600);
n=RAND_DATA;
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-161 43 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
Small change in crypto/rand/randfile.c
Richard Levitte - VMS Whacker Fri, 16 Apr 1999 02:46:06 -0700
