Fix salt length when using openssl's random pseudo-bytes function.