aboutsummaryrefslogtreecommitdiff
path: root/test/integration/esys-encrypt-decrypt.int.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/esys-encrypt-decrypt.int.c')
-rw-r--r--test/integration/esys-encrypt-decrypt.int.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/integration/esys-encrypt-decrypt.int.c b/test/integration/esys-encrypt-decrypt.int.c
index 3204a549..e357f0bb 100644
--- a/test/integration/esys-encrypt-decrypt.int.c
+++ b/test/integration/esys-encrypt-decrypt.int.c
@@ -207,6 +207,12 @@ test_esys_encrypt_decrypt(ESYS_CONTEXT * esys_context)
&outPrivate2,
&outPublic2,
&creationData2, &creationHash2, &creationTicket2);
+
+ if (r == 0x2c2) { /*<< tpm:parameter(2):inconsistent attributes */
+ LOG_WARNING("Unsupported symmetric cipher.");
+ failure_return = EXIT_SKIP;
+ goto error;
+ }
goto_if_error(r, "Error esys create ", error);
LOG_INFO("AES key created.");