fix openssl.RAND_bytes return type