altos: Make FAT test program link explicitly against libcrypto
authorKeith Packard <keithp@keithp.com>
Sat, 17 Aug 2013 14:01:44 +0000 (16:01 +0200)
committerKeith Packard <keithp@keithp.com>
Sat, 17 Aug 2013 14:01:44 +0000 (16:01 +0200)
For some reason, the MD5_Final symbol isn't resolved when linking only
against libssl.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/test/Makefile

index 3c9ac9c6f1156ca9a2a75d6403602405ea5db3de..75b1f8485684dbf4f2409ea582479094f510f0aa 100644 (file)
@@ -69,7 +69,7 @@ ao_micropeak_test: ao_micropeak_test.c ao_microflight.c ao_kalman.h
        cc $(CFLAGS) -o $@ ao_micropeak_test.c -lm
 
 ao_fat_test: ao_fat_test.c ao_fat.c ao_bufio.c
-       cc $(CFLAGS) -o $@ ao_fat_test.c -lssl
+       cc $(CFLAGS) -o $@ ao_fat_test.c -lssl -lcrypto
 
 ao_aes_test: ao_aes_test.c ao_aes.c ao_aes_tables.c
        cc $(CFLAGS) -o $@ ao_aes_test.c