mirror of
https://github.com/stefanberger/libtpms
synced 2025-12-29 00:15:18 +00:00
Add a test case testing the TPMLIB_DecodeBlob function. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Acked-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
35 lines
690 B
Makefile
35 lines
690 B
Makefile
#
|
|
# tests/Makefile.am
|
|
#
|
|
# For the license, see the LICENSE file in the root directory.
|
|
#
|
|
|
|
check_PROGRAMS = base64decode
|
|
TESTS = base64decode.sh
|
|
|
|
base64decode_CFLAGS = -I../include
|
|
base64decode_LDFLAGS = -ltpms -L../src/.libs
|
|
|
|
if LIBTPMS_USE_FREEBL
|
|
|
|
check_PROGRAMS += freebl_sha1flattensize
|
|
TESTS += freebl_sha1flattensize
|
|
|
|
endif
|
|
|
|
freebl_sha1flattensize_SOURCES = \
|
|
freebl_sha1flattensize.c
|
|
freebl_sha1flattensize_CFLAGS = \
|
|
$(shell nss-config --cflags) \
|
|
$(shell nspr-config --cflags) \
|
|
-Wall -Werror
|
|
freebl_sha1flattensize_LDFLAGS = \
|
|
-lfreebl \
|
|
$(shell nspr-config --libs) \
|
|
$(shell nss-config --libs)
|
|
|
|
EXTRA_DIST = \
|
|
freebl_sha1flattensize.c \
|
|
base64decode.c \
|
|
base64decode.sh
|