Re: [Mixmaster-devel] This whole IDEA thing
Brought to you by:
weaselp
From: Peter P. <pe...@pa...> - 2002-07-24 05:38:01
|
On Wed, 24 Jul 2002, Peter Palfrader wrote: > On Tue, 23 Jul 2002, Len Sassaman wrote: >=20 > > On Wed, 24 Jul 2002, Peter Palfrader wrote: > >=20 > > > This patch removes USE_IDEA from config.h and adds it to the Install > > > script if IDEA is available. > >=20 > > I am fine with compiling without IDEA if we disable Type I support as > > well. I do not want to allow Type I remailers that don't support IDEA, > > since I am afraid this will be a cause of a lot of lost mail. Remailers > > that advertise that they can do Type I ought to be able to work with PGP > > 2.6. >=20 > Fine with me, altough it might be suffient to not offer a PGP RSA key. Index: Install =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/mixmaster/Mix/Install,v retrieving revision 1.4 diff -u -r1.4 Install --- Install 11 Jul 2002 02:39:33 -0000 1.4 +++ Install 24 Jul 2002 05:37:07 -0000 @@ -342,24 +342,23 @@ LDFLAGS=3D"-lsocket -lnsl" fi =20 - if [ "$system" =3D OpenBSD ] + LIBDIR=3D + INCDIR=3D + SRCDIR=3Didea* + findlib libidea.a + if [ "$found" =3D "" ] then - LIBDIR=3D - INCDIR=3D - SRCDIR=3Didea* - findlib libidea.a - if [ "$found" =3D "" ] + echo "Building without IDEA." + HAVE_IDEA=3D"n" + else + HAVE_IDEA=3D"y" + DEF=3D"$DEF -DUSE_IDEA" + IDEALIB=3D"$MAKELIB" + LIBS=3D"$LIBS $LIB" + LDFLAGS=3D"$LDFLAGS $LDFLAG" + if [ "$INCDIR" !=3D "" ] then - echo "Please build libidea.a or install OpenSSL with IDEA now." - exit 1 - else - IDEALIB=3D"$MAKELIB" - LIBS=3D"$LIBS $LIB" - LDFLAGS=3D"$LDFLAGS $LDFLAG" - if [ "$INCDIR" !=3D "" ] - then - INC=3D"$INC -I$INCDIR" - fi + INC=3D"$INC -I$INCDIR" fi fi =20 @@ -734,8 +733,12 @@ readln "Accept Mixmaster (Type II) messages?" y mix=3D$ans =20 - readln "Accept PGP (Type I) remailer messages?" n - pgp=3D$ans + pgp=3Dn + if [ "$HAVE_IDEA" =3D y ] + then + readln "Accept PGP (Type I) remailer messages?" n + pgp=3D$ans + fi =20 unencrypted=3Dn if [ "$pgp" =3D "y" ] Index: Src/config.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/mixmaster/Mix/Src/config.h,v retrieving revision 1.6 diff -u -r1.6 config.h --- Src/config.h 22 Jul 2002 17:54:48 -0000 1.6 +++ Src/config.h 24 Jul 2002 05:37:07 -0000 @@ -44,7 +44,7 @@ /* Use the RSA cryptosystem? */ #define USE_RSA /* Use IDEA algorithm? (See file idea.txt) */ -#define USE_IDEA +/* #define USE_IDEA */ /* Use AES algorithm? - should be handled by Install script setting compil= er option -DUSE_AES */ /* #define USE_AES */ /* Support the OpenPGP message format? */ yours, peter --=20 PGP signed and encrypted | .''`. ** Debian GNU/Linux ** messages preferred. | : :' : The universal | `. `' Operating System http://www.palfrader.org/ | `- http://www.debian.org/ |