When generating session key for block transfer protocol,
if RAND_bytes() doesn't have enough entropy, fall back to
RAND_pseudo_bytes().