Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 23 Jul 2012 13:38:15 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Some more external mode definitions

On Mon, Jul 23, 2012 at 11:27:21AM +0200, Frank Dittrich wrote:
> I wouldn't use maxlength, because there might be other uses in external
> modes defined by users, so we'd force them to change their existing
> external modes.

Not quite.  Their own definition of the variable will simply take
precedence (local scope).

These pre-defined variable names are not reserved words.  They're just
identifiers at the global scope.

> The same could happen with maxlen or limit, but if is less likely,
> because most users will copy and adjust an existing external mode.
> 
> If you intend to add more format attributes in future versions, may be
> cipher_limit would be the best name, even if in the case of
> --stdout=LENGTH the limit doesn't come from the cipher.

Right.

Alexander

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.