Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 01 May 2012 23:30:45 -0400
From: Erik Winkler <ewinkler@...ls.com>
To: john-dev@...ts.openwall.com
Subject: Re: JtR compilation warnings on OS X 10.7.3 with Xcode 4.3.2


> I have made some modifications to XSHA512 format to continue using
> OpenSSL when running under Snow Leopard. Can you benchmark XSHA512
> format again and see if the latest patch fixes the performance issues?
> 


I get a compile error, so there might be an error in ifdef command.

Erik

gcc-4.2 -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include      -m64 -Wno-deprecated-declarations -funroll-loops XSHA512_fmt.c
XSHA512_fmt.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ctx_salt'
XSHA512_fmt.c: In function 'set_salt':
XSHA512_fmt.c:231: warning: implicit declaration of function 'SHA512_Init'
XSHA512_fmt.c:231: error: 'ctx_salt' undeclared (first use in this function)
XSHA512_fmt.c:231: error: (Each undeclared identifier is reported only once
XSHA512_fmt.c:231: error: for each function it appears in.)
XSHA512_fmt.c:232: warning: implicit declaration of function 'SHA512_Update'
XSHA512_fmt.c: In function 'crypt_all':
XSHA512_fmt.c:265: error: 'SHA512_CTX' undeclared (first use in this function)
XSHA512_fmt.c:265: error: expected ';' before 'ctx'
XSHA512_fmt.c:268: error: 'ctx' undeclared (first use in this function)
XSHA512_fmt.c:268: error: 'ctx_salt' undeclared (first use in this function)
XSHA512_fmt.c:275: warning: implicit declaration of function 'SHA512_Final'
make[1]: *** [XSHA512_fmt.o] Error 1
make: *** [macosx-x86-64] Error 2




Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ