+Tue May 21 19:30:10 1996 Sam Hartman <hartmans@mit.edu>
+
+ * Makefile.in (check-unix): In building destest and verify, make
+ sure we include enough object modules to deal with systems that do
+ early binding in shared libs, so we porperly overide
+ mit_des_is_weak_key
+
+:reset
+ * Makefile.in (check-unix): Use $(RUN_SETUP) so shared lib paths
+ are happy.
+
Sat May 18 02:02:59 1996 Theodore Y. Ts'o <tytso@mit.edu>
* u_nfold.c (mit_des_n_fold): Fix memory leak. Free tempbuf
KLIB = $(TOPLIBD)/libkrb5.$(LIBEXT) $(TOPLIBD)/libcrypto.$(LIBEXT) $(COMERRLIB)
DEPKLIB = $(TOPLIBD)/libkrb5.$(LIBEXT) $(TOPLIBD)/libcrypto.$(LIBEXT) $(COMERRLIB)
+RUN_SETUP = @KRB5_RUN_ENV@
.c.o:
$(CC) $(CFLAGS) -c $(srcdir)/$*.c
$(RM) fp.c ip.c key_perm.h odd.h p.c p_table.h s_table.h
verify$(EXEEXT): t_verify.$(OBJEXT) $(DEPKLIB)
- $(CC) -o $@ t_verify.$(OBJEXT) $(KLIB) $(LIBS) $(CFLAGS) $(LDFLAGS)
+ $(CC) -o $@ t_verify.$(OBJEXT) process_ky.o key_sched.o\
+ ../cryptoconf.o ../des_crc.o $(KLIB) $(LIBS) $(CFLAGS) $(LDFLAGS)
destest$(EXEEXT): destest.$(OBJEXT) $(DEPKLIB)
- $(CC) -o $@ destest.$(OBJEXT) $(KLIB) $(LIBS) $(CFLAGS) $(LDFLAGS)
+ $(CC) -o $@ destest.$(OBJEXT) process_ky.o key_sched.o\
+ ../cryptoconf.o ../des_crc.o $(KLIB) $(LIBS) $(CFLAGS) $(LDFLAGS)
t_random$(EXEEXT): t_random.$(OBJEXT) $(DEPKLIB)
$(LD) -o $@ t_random.$(OBJEXT) $(KLIB) $(LIBS) $(CFLAGS) $(LDFLAGS)
check-mac: check-unix
check-unix:: destest verify
- ./verify -z
- ./verify -m
- ./verify
- ./destest < $(srcdir)/keytest.data
+ $(RUN_SETUP) ./verify -z
+ $(RUN_SETUP) ./verify -m
+ $(RUN_SETUP) ./verify
+ $(RUN_SETUP) ./destest < $(srcdir)/keytest.data
check-windows::