+2001-12-05 Ezra Peisach <epeisach@mit.edu>
+
+ * t_cksum.c (main): Free memory leak in tests.
+
2001-10-28 Jeff Altman <jaltman@columbia.edu>
* Makefile.in - added dependency info for hmac_md5.c
$(CC) -DMD=5 $(ALL_CFLAGS) -o t_cksum5.o -c $(srcdir)/t_cksum.c
t_cksum4: t_cksum4.o $(CRYTPO_DEPLIB)
- $(CC_LINK) -o t_cksum4 t_cksum4.o $(K5CRYPTO_LIB)
+ $(CC_LINK) -o t_cksum4 t_cksum4.o $(K5CRYPTO_LIB) $(LIBS)
t_cksum5: t_cksum5.o $(CRYPTO_DEPLIB)
- $(CC_LINK) -o t_cksum5 t_cksum5.o $(K5CRYPTO_LIB)
+ $(CC_LINK) -o t_cksum5 t_cksum5.o $(K5CRYPTO_LIB) $(LIBS)
check-unix:: t_cksum4 t_cksum5
$(RUN_SETUP) $(C)t_cksum4 "this is a test"
printf("Verify of bad checksum OK for \"%s\"\n", argv[msgindex]);
kret = 0;
}
+ free(newstyle_checksum.data);
if (!kret)
printf("%d tests passed successfully for MD%d checksum\n", argc-1, MD);
return(kret);