Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 21 Apr 2012 12:48:34 +0530
From: Dhiru Kholia <dhiru.kholia@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: JtR compilation warnings on OS X 10.7.3 with Xcode 4.3.2

On Sat, Apr 21, 2012 at 12:35 PM, Dhiru Kholia <dhiru.kholia@...il.com> wrote:
> I tried compiling magnum-jumbo on OS X 10.7.3 with Xcode 4.3.2 (with
> Command Line Tools for Xcode installed) and got tons of warnings
> (compilation log attached).  Almost all of them were regarding some or
> the other OpenSSL calls being deprecated. Are these warnings easy to
> fix?

After some searching I found two solutions to fix these warnings:

Easy Fix: Add "-Wno-deprecated-declarations" compiler flag for macosx* targets

Hard Fix: Use Apple's recommended CommonCrypto API instead of OpenSSL.
This option will involve addition of lot of ifdefs in the existing
code.

-- 
Cheers,
Dhiru

Powered by blists - more mailing lists

Your e-mail address:

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