libtpmtss: Added to integrity checks

This commit is contained in:
Andreas Steffen 2016-06-26 16:00:43 +02:00
parent 2343c48341
commit b031593641
4 changed files with 19 additions and 0 deletions

View File

@ -53,6 +53,11 @@ if USE_LIBPTTLS
libs += $(DESTDIR)$(ipseclibdir)/libpttls.so
endif
if USE_LIBTPMTSS
deps += $(top_builddir)/src/libtpmtss/libtpmtss.la
libs += $(DESTDIR)$(ipseclibdir)/libtpmtss.so
endif
if USE_LIBTNCCS
deps += $(top_builddir)/src/libtnccs/libtnccs.la
libs += $(DESTDIR)$(ipseclibdir)/libtnccs.so

View File

@ -17,6 +17,7 @@
#include <utils/debug.h>
#include <pen/pen.h>
/**
* Described in header.
*/

View File

@ -17,6 +17,14 @@
#include "tpm_tss_tss2.h"
#include "tpm_tss_trousers.h"
/**
* Described in header.
*/
void libtpmtss_init(void)
{
/* empty */
}
typedef tpm_tss_t*(*tpm_tss_create)();
/**

View File

@ -130,4 +130,9 @@ struct tpm_tss_t {
*/
tpm_tss_t *tpm_tss_probe(tpm_version_t version);
/**
* Dummy libtpmtss initialization function needed for integrity test
*/
void libtpmtss_init(void);
#endif /** TPM_TSS_H_ @}*/