summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-02-14 21:32:23 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2013-02-14 21:32:23 (GMT)
commite55582c90f56a2d44cfb59c94ae0f06db63ffeed (patch)
tree82d9afe23e9bb09b831901def4c9468313720702 /Makefile.am
parent3f2db118557ca65f7cbd7a9207620193957d87a9 (diff)
downloadconnman-e55582c90f56a2d44cfb59c94ae0f06db63ffeed.zip
connman-e55582c90f56a2d44cfb59c94ae0f06db63ffeed.tar.gz
connman-e55582c90f56a2d44cfb59c94ae0f06db63ffeed.tar.bz2
unit: Add test cases for SHA-1 based PBKDF2 and PRF
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 60eb46e..e3213ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -235,6 +235,18 @@ client_connmanctl_SOURCES = $(gdbus_sources) src/connman.h \
client_connmanctl_LDADD = @DBUS_LIBS@ @GLIB_LIBS@ -lreadline -ldl
endif
+noinst_PROGRAMS += unit/test-pbkdf2-sha1 unit/test-prf-sha1
+
+unit_test_pbkdf2_sha1_SOURCES = unit/test-pbkdf2-sha1.c \
+ src/shared/sha1.h src/shared/sha1.c
+unit_test_pbkdf2_sha1_LDADD = @GLIB_LIBS@
+
+unit_test_prf_sha1_SOURCES = unit/test-prf-sha1.c \
+ src/shared/sha1.h src/shared/sha1.c
+unit_test_prf_sha1_LDADD = @GLIB_LIBS@
+
+TESTS = unit/test-pbkdf2-sha1 unit/test-prf-sha1
+
if WISPR
noinst_PROGRAMS += tools/wispr