]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
added case IMV_ATTESTATION_STATE_END
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 18 Dec 2011 18:39:25 +0000 (19:39 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 18 Dec 2011 18:39:25 +0000 (19:39 +0100)
src/libpts/plugins/imv_attestation/imv_attestation_build.c
src/libpts/pts/pts.c

index efcb1c695b471883af4944d0e20914bada49c296..1efe2e7232099ff945b59c16623fe5256d53fdcd 100644 (file)
@@ -284,10 +284,8 @@ bool imv_attestation_build(linked_list_t *attr_list,
                        }
                        break;
                }
-               default:
-                       DBG1(DBG_IMV, "Attestation IMV is in unknown state: \"%s\"",
-                                handshake_state);
-                       return FALSE;
+               case IMV_ATTESTATION_STATE_END:
+                       break;
        }
        return TRUE;
 }
index 6469f7cc437825d926c3cec857ae6444e0e4d18b..b31ab3dcfced7fdc3578fb2d383db937e7e67d7e 100644 (file)
@@ -1525,7 +1525,7 @@ pts_t *pts_create(bool is_imc)
                {
                        this->has_tpm = TRUE;
                        this->pcr_len = PCR_LEN;
-                       this->proto_caps |= PTS_PROTO_CAPS_T | PTS_PROTO_CAPS_D;
+                       /* this->proto_caps |= PTS_PROTO_CAPS_T | PTS_PROTO_CAPS_D; */
                        load_aik(this);
                        load_aik_blob(this);
                }