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.
parent
c9fb4e2c
Please register or sign in to comment