Check for an illegal length of passphrase in read_passphrase().