Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2001 13:50:52 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Rasputin <rara.rasputin@virgin.net>
Cc:        security@freebsd.org
Subject:   Re: setkey(3) not present in the system
Message-ID:  <20010509135052.A44191@ringworld.oblivion.bg>
In-Reply-To: <20010509104313.A47276@dogma.freebsd-uk.eu.org>; from rara.rasputin@virgin.net on Wed, May 09, 2001 at 10:43:13AM %2B0100
References:  <20010509104313.A47276@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 09, 2001 at 10:43:13AM +0100, 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? 

[roam@ringworld:v0 /usr/lib]$ nm -ao *.a | fgrep f_prealloc
libc.a:findfp.o:00000154 T f_prealloc
libc_p.a:findfp.po:00000160 T f_prealloc
libc_pic.a:findfp.So:00000180 T f_prealloc
libc_r.a:findfp.o:00000160 T f_prealloc
libc_r_p.a:findfp.po:0000016c T f_prealloc
[roam@ringworld:v0 /usr/lib]$

Looks like it's in libc.  The /usr/src/lib/libc/stdio/findfp.c file, though,
contains comments which seem to indicate that f_prealloc() is an internal
stdio function, not intended to be used by anything other than stdio.

> 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?

Ever tried man 3 setkey? :)  It mentions the "FreeSec Crypt Library
(libcipher, -lcipher)" as the very first thing after the function name :)

G'luck,
Peter

-- 
This would easier understand fewer had omitted.

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?20010509135052.A44191>