+Fri Oct 14 00:37:08 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * cryptoconf.c: Add support for the new cryptosystem DES/MD5.
+
+ * Makefile.in: Add support for new files des-crc.c, des-md5.c, and
+ raw-des.c
+
Thu Oct 6 20:07:41 1994 Theodore Y. Ts'o (tytso@dcl)
* configure.in: Add recursive "make check" target.
TST=if test -n "`cat DONE`" ; then
-OBJS= cryptoconf.o
-SRCS= $(srcdir)/cryptoconf.c
+OBJS= cryptoconf.o \
+ des-crc.o \
+ des-md5.o \
+ raw-des.o
+
+SRCS= $(srcdir)/cryptoconf.c \
+ $(srcdir)/des-crc.c \
+ $(srcdir)/des-md5.c \
+ $(srcdir)/raw-des.c
all::
install:: libcrypto.a
$(INSTALL_DATA) libcrypto.a $(DESTDIR)$(KRB5_LIBDIR)/libcrypto.a
$(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/libcrypto.a
+
+clean::
+ $(RM) libcrypto.a
#include <krb5/mit-des.h>
#define _DES_DONE__
#endif
-#define DES_CBC_CRC_CSENTRY &krb5_des_cst_entry
+#define DES_CBC_CRC_CSENTRY &krb5_des_crc_cst_entry
#else
#define DES_CBC_CRC_CSENTRY 0
#endif
+#ifdef PROVIDE_DES_CBC_MD5
+#ifndef _DES_DONE__
+#include <krb5/mit-des.h>
+#define _DES_DONE__
+#endif
+#define DES_CBC_MD5_CSENTRY &krb5_des_md5_cst_entry
+#else
+#define DES_CBC_MD5_CSENTRY 0
+#endif
+
#ifdef PROVIDE_RAW_DES_CBC
#ifndef _DES_DONE__
#include <krb5/mit-des.h>
0, /* ETYPE_NULL */
DES_CBC_CRC_CSENTRY, /* ETYPE_DES_CBC_CRC */
0, /* ETYPE_DES_CBC_MD4 */
- 0, /* ETYPE_DES_CBC_MD5 */
+ DES_CBC_MD5_CSENTRY, /* ETYPE_DES_CBC_MD5 */
RAW_DES_CBC_CSENTRY, /* ETYPE_RAW_DES_CBC */
};