masqmail

diff src/md5/Makefile.in @ 209:10da50168dab

replaced the MD5 implementation with the one of Solar Designer Until now, the sample code of RFC 1321 was used. It had an ugly license. Now we use the implementation of Solar Designer, which is in the Public Domain. http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
author meillo@marmaro.de
date Sun, 18 Jul 2010 21:58:15 +0200
parents 907fee7c081a
children 5781ba87df95
line diff
     1.1 --- a/src/md5/Makefile.in	Sun Jul 18 21:49:15 2010 +0200
     1.2 +++ b/src/md5/Makefile.in	Sun Jul 18 21:58:15 2010 +0200
     1.3 @@ -47,12 +47,12 @@
     1.4  LIBRARIES = $(noinst_LIBRARIES)
     1.5  AR = ar
     1.6  ARFLAGS = cru
     1.7 -libmd5c_a_AR = $(AR) $(ARFLAGS)
     1.8 -libmd5c_a_LIBADD =
     1.9 -am_libmd5c_a_OBJECTS = md5c.$(OBJEXT) hmac_md5.$(OBJEXT)
    1.10 -libmd5c_a_OBJECTS = $(am_libmd5c_a_OBJECTS)
    1.11 +libmd5_a_AR = $(AR) $(ARFLAGS)
    1.12 +libmd5_a_LIBADD =
    1.13 +am_libmd5_a_OBJECTS = md5.$(OBJEXT) hmac_md5.$(OBJEXT)
    1.14 +libmd5_a_OBJECTS = $(am_libmd5_a_OBJECTS)
    1.15  PROGRAMS = $(noinst_PROGRAMS)
    1.16 -am_hmactest_OBJECTS = md5c.$(OBJEXT) hmac_md5.$(OBJEXT) \
    1.17 +am_hmactest_OBJECTS = md5.$(OBJEXT) hmac_md5.$(OBJEXT) \
    1.18  	hmactest.$(OBJEXT)
    1.19  hmactest_OBJECTS = $(am_hmactest_OBJECTS)
    1.20  hmactest_LDADD = $(LDADD)
    1.21 @@ -64,8 +64,8 @@
    1.22  	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
    1.23  CCLD = $(CC)
    1.24  LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    1.25 -SOURCES = $(libmd5c_a_SOURCES) $(hmactest_SOURCES)
    1.26 -DIST_SOURCES = $(libmd5c_a_SOURCES) $(hmactest_SOURCES)
    1.27 +SOURCES = $(libmd5_a_SOURCES) $(hmactest_SOURCES)
    1.28 +DIST_SOURCES = $(libmd5_a_SOURCES) $(hmactest_SOURCES)
    1.29  ETAGS = etags
    1.30  CTAGS = ctags
    1.31  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    1.32 @@ -174,19 +174,17 @@
    1.33  with_spooldir = @with_spooldir@
    1.34  with_user = @with_user@
    1.35  AM_CFLAGS = @CFLAGS@ @GLIB_CFLAGS@ -D_GNU_SOURCE
    1.36 -noinst_LIBRARIES = libmd5c.a
    1.37 +noinst_LIBRARIES = libmd5.a
    1.38  hmactest_SOURCES = \
    1.39  	md5.h\
    1.40 -	global.h\
    1.41 -	md5c.c\
    1.42 +	md5.c\
    1.43  	hmac_md5.h\
    1.44  	hmac_md5.c\
    1.45  	hmactest.c
    1.46  
    1.47 -libmd5c_a_SOURCES = \
    1.48 +libmd5_a_SOURCES = \
    1.49  	md5.h\
    1.50 -	global.h\
    1.51 -	md5c.c\
    1.52 +	md5.c\
    1.53  	hmac_md5.h\
    1.54  	hmac_md5.c
    1.55  
    1.56 @@ -227,10 +225,10 @@
    1.57  
    1.58  clean-noinstLIBRARIES:
    1.59  	-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
    1.60 -libmd5c.a: $(libmd5c_a_OBJECTS) $(libmd5c_a_DEPENDENCIES) 
    1.61 -	-rm -f libmd5c.a
    1.62 -	$(libmd5c_a_AR) libmd5c.a $(libmd5c_a_OBJECTS) $(libmd5c_a_LIBADD)
    1.63 -	$(RANLIB) libmd5c.a
    1.64 +libmd5.a: $(libmd5_a_OBJECTS) $(libmd5_a_DEPENDENCIES) 
    1.65 +	-rm -f libmd5.a
    1.66 +	$(libmd5_a_AR) libmd5.a $(libmd5_a_OBJECTS) $(libmd5_a_LIBADD)
    1.67 +	$(RANLIB) libmd5.a
    1.68  
    1.69  clean-noinstPROGRAMS:
    1.70  	-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
    1.71 @@ -246,7 +244,7 @@
    1.72  
    1.73  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hmac_md5.Po@am__quote@
    1.74  @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hmactest.Po@am__quote@
    1.75 -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5c.Po@am__quote@
    1.76 +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5.Po@am__quote@
    1.77  
    1.78  .c.o:
    1.79  @am__fastdepCC_TRUE@	$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<