Attestation IMC/IMV pair uses TCG_PTS subtype
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 24 Jun 2011 15:41:58 +0000 (17:41 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 8 Sep 2011 10:08:08 +0000 (12:08 +0200)
src/libimcv/plugins/imc_attestation/imc_attestation.c
src/libimcv/plugins/imv_attestation/imv_attestation.c

index 89735fc..24a2044 100644 (file)
 #include <ietf/ietf_attr_pa_tnc_error.h>
 #include <tcg/tcg_attr.h>
 
-#include <pen/pen.h>
+#include <tncif_pa_subtypes.h>
 
+#include <pen/pen.h>
 #include <debug.h>
 
 /* IMC definitions */
 
 static const char imc_name[] = "Attestation";
 
-#define IMC_VENDOR_ID  PEN_ITA
-#define IMC_SUBTYPE            0x02
+#define IMC_VENDOR_ID  PEN_TCG
+#define IMC_SUBTYPE            PA_SUBTYPE_TCG_PTS
 
 static imc_agent_t *imc_attestation;
  
index b594378..428825c 100644 (file)
 #include <ietf/ietf_attr_pa_tnc_error.h>
 #include <tcg/tcg_attr.h>
 
-#include <pen/pen.h>
+#include <tncif_pa_subtypes.h>
 
+#include <pen/pen.h>
 #include <debug.h>
 
 /* IMV definitions */
 
 static const char imv_name[] = "Attestation";
 
-#define IMV_VENDOR_ID  PEN_ITA
-#define IMV_SUBTYPE            0x02
+#define IMV_VENDOR_ID  PEN_TCG
+#define IMV_SUBTYPE            PA_SUBTYPES_TCG_PTS
 
 static imv_agent_t *imv_attestation;