Style.
Keep if statement consistant with the other equivalent ones.
Check if RAND_bytes was successful.
Style.