Initialize "buf" to 0 to make valgrind happy :-)
authorLutz Jänicke <jaenicke@openssl.org>
Fri, 2 Mar 2007 17:54:31 +0000 (17:54 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Fri, 2 Mar 2007 17:54:31 +0000 (17:54 +0000)
commit1364e6f1ac1d0aec831b936bc5cfc83211e74495
tree7ff1fbf122163dadb500fd4de7ae6a56d1b4580a
parentc5ac2aa62c415ed0ba2f97ab1792a42ed0963425
Initialize "buf" to 0 to make valgrind happy :-)
Note: the RAND_bytes() manual page says:
 RAND_bytes() puts num cryptographically strong pseudo-random bytes into buf.
It does not talk about using the previous contents of buf so we are working
as documented.
crypto/rand/rand_lib.c