[1131] in Kerberos-V5-bugs
krb5b4pl3: KDC build should use libcrypto.a, not libdes.a
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Mar 13 17:41:52 1995
From: "Jonathan I. Kamens" <jik@cam.ov.com>
Date: Mon, 13 Mar 1995 17:45:02 -0500
To: krb5-bugs@MIT.EDU
The whole point of linking against libdes425.a when building the KDC
in backward-compatibility mode is so that libcrypto.a can be used to
do the DES stuff for the backward-compatibility code. Therefore,
K4LIB should include libcrypto.a, not libdes.a, after libdes425.a.
Here's a patch to configure.in:
--- configure.in 1995/03/13 22:42:30 1.1
+++ configure.in 1995/03/13 22:42:50
@@ -17,7 +17,7 @@
AC_WITH([krb4],
ADD_DEF(-DKRB4)
ADD_DEF(-DBACKWARD_COMPAT)
-K4LIB='$(KRB4)/lib/libkrb.a $(TOPLIBD)/libdes425.a $(KRB4)/lib/libdes.a',
+K4LIB='$(KRB4)/lib/libkrb.a $(TOPLIBD)/libdes425.a $(TOPLIBD)/libcrypto.a',
echo "warning: no krb4 support will be built in kdc"
K4LIB=)
AC_SUBST(K4LIB)
I've tested it and the kdc builds successfully with this patch.
jik