On Sun, Mar 29, 2009 at 3:56 PM, Matt Brookings <m...@inter7.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> aledr wrote:
>> On Fri, Mar 27, 2009 at 3:32 PM, Matt Brookings <m...@inter7.com> wrote:
>> aledr wrote:
>>>>>> Here is the section for MD5 on a x86_64 system:
>> What OS and flavor btw?  I'm installing CentOS on a laptop over here.  I've
>> got to resize the partitions first though.  Another hour and 45 left on the
>> resize.
>
> I don't think this has to do with 64bit systems specifically.  Are you 
> familiar
> with gdb?  Can you debug the MD5 test program and see where it's segfaulting?

No deal with gdb in this case:
Program received signal SIGSEGV, Segmentation fault.
0x000000000040061a in main ()

Excerpted this code from configure:
---------------------------------------------------------------------------------------------
#include <stdio.h>
#include <string.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
    char *ret = NULL;
    const char salt[12] = "\$1\$ABCDEFG\0", key[5] = "test\0";
    ret = (char *)crypt(key, salt);

    if (ret == NULL)
        return 2;

    if (*(ret + 2) != '$')
        return 1;

    return 0;
}
---------------------------------------------------------------------------------------------

But It doesn't have: #include <crypt.h>
;D

> - --
> /*
>    Matt Brookings <m...@inter7.com>       GnuPG Key D9414F70
>    Software developer                     Systems technician
>    Inter7 Internet Technologies, Inc.     (815)776-9465
> */
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAknPxHAACgkQ6QgvSNlBT3AxcQCeMzw65Ik3E2k5w9TCFJe5P155
> 2q8AoIaa8kMM/Zp6gPVx6PF+t3xEV2kz
> =F2nv
> -----END PGP SIGNATURE-----
>

--
[ ]'s
Aledr - Alexandre
"OpenSource Solutions for SmallBusiness Problems"

!DSPAM:49d5083832688236749190!

Reply via email to