RAND_pseudobytes() is obsolete. There is a new RAND_priv_bytes() to switch to an independent PRNG.