Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2003 12:47:35 +0100
From:      Richard Nyberg <rnyberg@it.su.se>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Kris Kennaway <kris@obsecurity.org>, current@FreeBSD.org
Subject:   Re: memset prototype changed?
Message-ID:  <20030218114734.GA59348@murmeldjur.it.su.se>
In-Reply-To: <xzpheb1yhrq.fsf@flood.ping.uio.no>
References:  <20030218105240.GH92966@rot13.obsecurity.org> <xzpheb1yhrq.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 18, 2003 at 12:01:29PM +0100, Dag-Erling Smorgrav wrote:
> Kris Kennaway <kris@obsecurity.org> writes:
> > http://bento.freebsd.org/errorlogs/i386-5-latest/netatalk-1.6.0_1,1.log
> 
> The code that fails to compile is blatantly wrong:
> 
>     memset(schedule, 0, sizeof(schedule));
> 

I think this is due to the openssl upgrade.
DES_key_schedule was an array but is now a struct.

You would have to something like this to make it work now:
memset(&schedule, 0, sizeof(schedule));

	-Richard

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030218114734.GA59348>