From owner-freebsd-security Wed May 9 4:42:53 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.newst.irs.ru (newst.irs.ru [212.164.94.1]) by hub.freebsd.org (Postfix) with ESMTP id 251BA37B422 for ; Wed, 9 May 2001 04:42:49 -0700 (PDT) (envelope-from fjoe@newst.net) Received: from lark.nsk.bsgdesign.com (lark.nsk.bsgdesign.com [192.168.3.21]) by mail.newst.irs.ru (8.11.1/8.11.0) with ESMTP id f49BgSK81825; Wed, 9 May 2001 18:42:34 +0700 (NOVST) (envelope-from fjoe@newst.net) Date: Wed, 9 May 2001 18:42:28 +0700 (NOVST) From: Max Khon X-Sender: fjoe@lark.nsk.bsgdesign.com To: Rasputin Cc: security@FreeBSD.ORG Subject: Re: setkey(3) not present in the system In-Reply-To: <20010509104313.A47276@dogma.freebsd-uk.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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