added DBG_IMC and DBG_IMV debug options
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 29 May 2011 08:25:13 +0000 (10:25 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 29 May 2011 08:25:13 +0000 (10:25 +0200)
src/charon/charon.c
src/libstrongswan/debug.c
src/libstrongswan/debug.h

index dda09f6..dcc1c88 100644 (file)
@@ -498,6 +498,8 @@ int main(int argc, char *argv[])
                        { "debug-net", required_argument, &group, DBG_NET },
                        { "debug-enc", required_argument, &group, DBG_ENC },
                        { "debug-tnc", required_argument, &group, DBG_TNC },
+                       { "debug-imc", required_argument, &group, DBG_IMC },
+                       { "debug-imv", required_argument, &group, DBG_IMV },
                        { "debug-tls", required_argument, &group, DBG_TLS },
                        { "debug-lib", required_argument, &group, DBG_LIB },
                        { 0,0,0,0 }
index 6ded702..ef79dcb 100644 (file)
@@ -28,6 +28,8 @@ ENUM(debug_names, DBG_DMN, DBG_LIB,
        "NET",
        "ENC",
        "TNC",
+       "IMC",
+       "IMV",
        "TLS",
        "LIB",
 );
@@ -43,6 +45,8 @@ ENUM(debug_lower_names, DBG_DMN, DBG_LIB,
        "net",
        "enc",
        "tnc",
+       "imc",
+       "imv",
        "tls",
        "lib",
 );
index d3399bf..c5a2564 100644 (file)
@@ -52,6 +52,10 @@ enum debug_t {
        DBG_ENC,
        /** trusted network connect */
        DBG_TNC,
+       /** integrity measurement client */
+       DBG_IMC,
+       /** integrity measurement verifier */
+       DBG_IMV,
        /** libtls */
        DBG_TLS,
        /** libstrongswan */