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 efcb1c6..1efe2e7 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 6469f7c..b31ab3d 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);
                }