Falling back to mt_rand

Cannot pass values by refrence to openssl.