[php-maint] Bug#603012: Bug#603012: php5-cgi: CRYPT_SALT_LENGTH constant is not defined

Ondřej Surý ondrej at sury.org
Wed Feb 23 15:15:11 UTC 2011


Raphael, it looks like it is related to my patch. I'll look at itas soon as I get to normal computer (iPhone really isn't a hacker tool ;-) and it should be fairly easy to fix (I'll use max value).

I guess we should have some bugsquashing party soon...ish.

Ondřej Surý

On 23.2.2011, at 15:51, Raphael Geissert <geissert at debian.org> wrote:

> On 10 November 2010 09:21, Colin Snover <bugs.debian.org at zetafleet.com> wrote:
>> 
>> The CRYPT_SALT_LENGTH constant is missing in 5.3.3-2. It existed in 5.3.2-2
>> and does not appear to have been removed upstream.
>> 
> 
> Ondrej, can you take a look at it? it seems to be a side-effect of
> your crypt patch.
> At first sight there doesn't seem to be a way to determine the limit
> at built-time (at least crypt(3) doesn't mention any defined
> constant). Worst case would be to hardcode it to 16 bytes and add a
> test that makes sure that's in fact the limit.
> 
> Cheers,
> -- 
> Raphael Geissert - Debian Developer
> www.debian.org - get.debian.net





More information about the pkg-php-maint mailing list