Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2001 18:42:28 +0700 (NOVST)
From:      Max Khon <fjoe@newst.net>
To:        Rasputin <rara.rasputin@virgin.net>
Cc:        security@FreeBSD.ORG
Subject:   Re: setkey(3) not present in the system
Message-ID:  <Pine.BSF.4.21.0105091841260.11744-100000@lark.nsk.bsgdesign.com>
In-Reply-To: <20010509104313.A47276@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
hi, there!

On Wed, 9 May 2001, Rasputin wrote:

> Morning all.
> I'm trying to port a WAP gateway to BSD, I've managed to get it to roll
> a binary, but want to quench these warnings before I submit it.
> (see bottom)
> 
> I know how to sort out mktemp() and gets(), anyone know where f_prealloc()
> lives? 
> 
> Anyway, the main reason I mailed this list is the 4 crypto functions 
> don't seem to be implemented on my box - is that just me?
> If so, how do I get them into the c library?
> I'm not a USA resident , and used to have a line saying that in make.conf back in 
> 4.0-RELEASE. Since then I've removed the line.
> 
> Anybody know where I can get these functions?
> Thanks.
> 
> /usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
> /usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
> /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp()
> /usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
> /usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
> /usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp()
> /usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
> /usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!

are you sure you are not linking your binary against libc_r and libc?
in FreeBSD you should use -pthread option for gcc when you want your
program to be linked against libc_r

/fjoe


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105091841260.11744-100000>