[ELDK] libcrypt-2.3.5.so crypt function problem

Sudarshan Soma sudarshan12s at gmail.com
Mon Mar 9 15:30:50 CET 2009


Hi, The problem seems to be resolved now. The issue was with crypt
function which was not re-entrant. used cryp_r from application , it
worked fine.

thanks
pavan

On Mon, Mar 9, 2009 at 12:56 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Sudarshan Soma,
>
> In message <de72ca4e0903040538w4b291a7es13c273c88f350e65 at mail.gmail.com> you wrote:
>>
>> I have downloaded eldk4.1 from the following location
>>  http://ftp-stud.hs-esslingen.de/pub/Mirrors/eldk/4.1/ppc-linux-x86/sources/target/SRPMS/
>
> Is there any specific reason for not using the latest version, i. e.
> ELDK 4.2 ?
>
>> I am seeing a strange problem where in sometimes, the crypt function
>> used from libcrypt-2.3.5.so library returns different hash for the
>> same password and salt .
>
> Can you provide some sample code that shows such behaviour?
>
> Which exact commands do you use to compile your code, and how exactlyu
> do you run it?  What is your target architecture?
>
>> Any suggestions related to this would be very helpful
>
> We need more details first.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> The heart is not a logical organ.
>        -- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4
>


More information about the eldk mailing list