]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix test-{md5,sha1} builds
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 28 Feb 2013 14:16:07 +0000 (16:16 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 28 Feb 2013 14:34:08 +0000 (16:34 +0200)
These need to include the libraries to fix aliasing_hide_typecast()
in md5-internal.c.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

tests/Makefile

index 3f5a8c283d4bff16a6cb27b3e68e47e90f3025d7..cccc3dcb032f0144e2427ddc6588ecee8418a33c 100644 (file)
@@ -57,7 +57,7 @@ test-md4: test-md4.o $(LIBS)
        $(LDO) $(LDFLAGS) -o $@ $^
 
 test-md5: test-md5.o $(LIBS)
-       $(LDO) $(LDFLAGS) -o $@ $^
+       $(LDO) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 test-milenage: test-milenage.o $(LIBS)
        $(LDO) $(LDFLAGS) -o $@ $^
@@ -72,7 +72,7 @@ test-rc4: test-rc4.o $(LIBS)
        $(LDO) $(LDFLAGS) -o $@ $^
 
 test-sha1: test-sha1.o $(LIBS)
-       $(LDO) $(LDFLAGS) -o $@ $^
+       $(LDO) $(LDFLAGS) -o $@ $^ $(LIBS)
 
 test-sha256: test-sha256.o $(LIBS)
        $(LDO) $(LDFLAGS) -o $@ $^