In RAND_write_file, truncate the file to the no. of bytes written
authorBodo Möller <bodo@openssl.org>
Fri, 21 Jan 2000 17:11:26 +0000 (17:11 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 21 Jan 2000 17:11:26 +0000 (17:11 +0000)
commit674b8eec4c5992714fd98389c90534c215000d75
treec85ddfbf484a774353a0f0fecf82278c91b05a5d
parent033db22d57bbe82e80d7e88c526daba008553d86
In RAND_write_file, truncate the file to the no. of bytes written
(we're now using fopen(..., "rb+") instead of fopen(..., "wb"),
so the file is not truncated automatically).
crypto/rand/randfile.c