diff options
author | Дилян Палаузов <git-dpa@aegee.org> | 2019-03-17 08:14:21 +0000 |
---|---|---|
committer | Andreas Fuchs <andreas.fuchs@sit.fraunhofer.de> | 2019-03-18 10:46:31 +0100 |
commit | fca342969099b5bc2ac937cbe6ff992585d6a27a (patch) | |
tree | 8e990ad3978a5e93715808d8a557a1517d6bb8b2 /test | |
parent | fc1930521221b7c87a5e952769da3963003bc398 (diff) | |
download | tpm2-tss-fca342969099b5bc2ac937cbe6ff992585d6a27a.tar.gz |
deheader: remove double #include’d headers
and fix unbalanced #ifdef .. #endif
Found by http://www.catb.org/~esr/deheader/ .
Signed-Off-By: Дилян Палаузов <git-dpa@aegee.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/esys-hmacsequencestart.int.c | 2 | ||||
-rw-r--r-- | test/integration/esys-pcr-auth-value.int.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/test/integration/esys-hmacsequencestart.int.c b/test/integration/esys-hmacsequencestart.int.c index 9e001f20..6ed3a4db 100644 --- a/test/integration/esys-hmacsequencestart.int.c +++ b/test/integration/esys-hmacsequencestart.int.c @@ -181,7 +181,7 @@ test_esys_hmacsequencestart(ESYS_CONTEXT * esys_context) /* Check HMAC_Start with auth equal NULL */ - #ifdef TEST_SESSION +#ifdef TEST_SESSION r = Esys_StartAuthSession(esys_context, ESYS_TR_NONE, ESYS_TR_NONE, ESYS_TR_NONE, ESYS_TR_NONE, ESYS_TR_NONE, &nonceCaller, diff --git a/test/integration/esys-pcr-auth-value.int.c b/test/integration/esys-pcr-auth-value.int.c index 82de2081..cba4bbbf 100644 --- a/test/integration/esys-pcr-auth-value.int.c +++ b/test/integration/esys-pcr-auth-value.int.c @@ -10,7 +10,6 @@ #include "esys_iutil.h" #include "test-esapi.h" -#include "test-esapi.h" #define LOGMODULE test #include "util/log.h" #include "util/aux_util.h" |