RAND_bytes/RAND_pseudo_bytes returns -1 if it is not supported by RAND method