diff --git a/src/tpm2/Object_spt.c b/src/tpm2/Object_spt.c index 6fc2928b..9dc6915b 100644 --- a/src/tpm2/Object_spt.c +++ b/src/tpm2/Object_spt.c @@ -365,9 +365,8 @@ CreateChecks(OBJECT* parentObject, && !IS_ATTRIBUTE(attributes, TPMA_OBJECT, decrypt) && IS_ATTRIBUTE(attributes, TPMA_OBJECT, sensitiveDataOrigin)) result = TPM_RC_ATTRIBUTES; - // comment out the next line in order to prevent a fixedTPM derivation - // parent - // break; + // fall through to prevent a fixedTPM derivation parent + // [[fallthrough]]; /* fallthrough */ // libtpms added case TPM_ALG_SYMCIPHER: // A restricted key symmetric key (SYMCIPHER and KEYEDHASH)