Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 1997 20:56:11 +0200
From:      Mark Murray <mark@grondar.za>
To:        Brandon Gillespie <brandon@roguetrader.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: where to place new crypt() files? 
Message-ID:  <199709251856.UAA09180@greenpeace.grondar.za>

next in thread | raw e-mail | index | archive | help
Brandon Gillespie wrote:
>      lib/libcrypt/blowfish.c

Isn't Blowfish export-restricted?

> And the file:
> 
>      lib/libcrypt/crypt-des.c

Also?

> In addition to the -DDES_CRYPT flag to make is all that is required to
> include DES crypt in the brew.  I really don't think duplicating all of
> the above files in both lib/libcrypt and secure/src/lib/libcrypt is a good
> idea... 

Good point.

> Any suggestions?  The cleanest solution (imho) would be to have
> secure/src/lib/libcrypt/[Makefile|crypt-des.c], and have the Makefile
> create a softlink from secure/src/lib/libcrypt/crypt-des.c to
> lib/libcrypt, then move to the lib/libcrypt directory and 'make
> -DDES_CRYPT'

Symlinks are not a good idea. Why do you not (ab)use .PATH: to find
either the real or failing that a dummy crypt-des.c routine?

M
--
Mark Murray
Join the anti-SPAM movement: http://www.cauce.org





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