Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 08:24:52 -0600
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        Mark Murray <mark@grondar.org>
Cc:        Ruslan Ermilov <ru@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: src/crypto/openssl
Message-ID:  <20030129142452.GB53244@opus.celabo.org>
In-Reply-To: <200301291418.h0TEIQaX067390@grimreaper.grondar.org>
References:  <20030129135451.GA12456@sunbay.com> <200301291418.h0TEIQaX067390@grimreaper.grondar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 29, 2003 at 02:18:26PM +0000, Mark Murray wrote:
> > Revision 1.8 had some local declaration stuff on behalf of
> > rnd_keys.c, in particular des_new_random_key():
> > 
> > : allmouth# cvs di -u -rv0_9_6g -r1.8 des.h | grep -w des_new_random_key
> > : +int des_new_random_key(des_cblock *key);
[...snip...]
> > : cc1: warnings being treated as errors
> > : /j/ru/src-5/crypto/telnet/libtelnet/enc_des.c: In function `fb64_start':
> > : /j/ru/src-5/crypto/telnet/libtelnet/enc_des.c:214: warning: implicit decl=
> > aration of function `des_new_random_key'
> > : *** Error code 1
> > : Stop in /j/ru/src-5/secure/lib/libtelnet.
> > : *** Error code 1
> 
> This is confusing. My Alpha built this clean from a recent CURRENT. No other diffs.

You probably have the warning, but
do you have `warnings being treated as errors' ?

Ruslan's right, we need prototypes for the symbols in rnd_keys.c .

  des_generate_random_block
  des_init_random_number_generator
  des_mem_rand8
  des_new_random_key
  des_rand_data
  des_rand_data_key
  des_set_random_generator_seed
  des_set_sequence_number

Cheers,
-- 
Jacques A. Vidrine <nectar@celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine@verio.net     .  nectar@FreeBSD.org  .          nectar@kth.se

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




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