Subject: Re: CVS commit: basesrc/lib/libcrypt
To: Jun-ichiro itojun Hagino <itojun@netbsd.org>
From: Sean Davis <dive@endersgame.net>
List: source-changes
Date: 05/24/2002 00:39:55
Where is arc4random?
/disk2/f/tools/bin/i386--netbsdelf-gcc   -o passwd -nostdlib  /usr/lib/crt0.o /usr/lib/crtbegin.o local_passwd.o passwd.o pwd_gensalt.o yp_passwd.o krb5_passwd.o -lrpcsvc -lcrypt -lutil -lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lcrypt -L/usr/lib  -lgcc -lc -lgcc /usr/lib/crtend.o
/usr/lib/libcrypt.so: undefined reference to `arc4random'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
make: stopped in /disk2/a/cvs/netbsd/current/src/usr.bin/passwd
*** Error code 1

Do I just need to wait a bit and update again?

Thanks,
-Sean

PS: Should I go ahead and finish up the SHA-512 support, or are you working on
    that also? I should be able to have it done by tomorrow afternoon or so,
    Eastern time.

On Fri, May 24, 2002 at 07:02:50AM +0300, Jun-ichiro itojun Hagino wrote:
> 
> Module Name:	basesrc
> Committed By:	itojun
> Date:		Fri May 24 04:02:49 UTC 2002
> 
> Modified Files:
> 	basesrc/include: pwd.h
> 	basesrc/lib/libcrypt: Makefile crypt.3 crypt.c
> 	basesrc/usr.bin/passwd: pwd_gensalt.c
> 	sharesrc/share/man/man5: passwd.conf.5
> Added Files:
> 	basesrc/lib/libcrypt: bcrypt.c blf.h blowfish.c
> 
> Log Message:
> support bcrypt password.  can be chosen by "blowfish" keyword in passwd.conf.
> from openbsd
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.25 -r1.26 basesrc/include/pwd.h
> cvs rdiff -r1.11 -r1.12 basesrc/lib/libcrypt/Makefile
> cvs rdiff -r0 -r1.1 basesrc/lib/libcrypt/bcrypt.c basesrc/lib/libcrypt/blf.h \
>     basesrc/lib/libcrypt/blowfish.c
> cvs rdiff -r1.13 -r1.14 basesrc/lib/libcrypt/crypt.3
> cvs rdiff -r1.18 -r1.19 basesrc/lib/libcrypt/crypt.c
> cvs rdiff -r1.5 -r1.6 basesrc/usr.bin/passwd/pwd_gensalt.c
> cvs rdiff -r1.4 -r1.5 sharesrc/share/man/man5/passwd.conf.5
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

-- 
/~\ The ASCII                         Sean Davis
\ / Ribbon Campaign                    aka dive
 X  Against HTML
/ \ Email!                   http://endersgame.net/~dive/