RE: [PHP4BETA] ext/standard/crypt.c missing macro/define PHP3_MAX_SALT_LEN
| From: | Peter Kocks | Date: | Wed, 09 Feb 2000 05:43:17 +0000 |
| Subject: | RE: [PHP4BETA] ext/standard/crypt.c missing macro/define PHP3_MAX_SALT_LEN | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9969@lists.php.net to get a copy of this message | ||
Hmm... I had the same problem even when configuring on a completely clean
distribution (i.e. I only ran configure once). (phpb3-Jan25, Solaris 7). I
did the same thing, setting MAX_SALT_LEN = 2 in the code, and received
reports from php coders here that the crypt() function became more picky
about specifying arguments. This was probably due to our upgrading from
php-b2 to php-b3, rather than directly having anything to do with
MAX_SALT_LEN, but you might experience similiar issues.
I'm still not convinced that there isn't a problem with configure setting
PHP3_MAX_SALT_LEN appropriately.
--pk
> -----Original Message-----
> From: Michael Loftis [mailto:zop12@mindless.com]
> Sent: Tuesday, February 08, 2000 8:07 PM
> To: php4beta@lists.php.net
> Subject: [PHP4BETA] ext/standard/crypt.c missing macro/define
> PHP3_MAX_SALT_LEN
>
>
> Just checked out the CVS sources and just subscribed to the list so
> apologies if this is a dupicate.
>
> In ext/standard/crypt.c on line number 120 and on the macro/define
> PHP3_MAX_SALT_LEN is used. grep-ing the entire source tree for
> MAX_SALT_LEN produces only the crypt.c file. I did only grep *.h and
> *.c files so I may have missed it.
>
> In any event I'm assuming 2 is a safe value(?) and inserting it into my
> compile (based on what the DES salt len usually is.)
>
> TIA for any resolution of this issue.
>
> --
> Michael Loftis
> zop12@mindless.com ICQ: 15648280 AIM: DyJailBait
> Funny quip of the moment just happens to be....
> Linux is like a tent:
> no gates, no windows, and an Apache inside!
>
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>