added some Linux OS PENs
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 31 Oct 2012 13:52:46 +0000 (14:52 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 31 Oct 2012 13:53:01 +0000 (14:53 +0100)
src/libstrongswan/pen/pen.c
src/libstrongswan/pen/pen.h

index a80e949..6ca6f2c 100644 (file)
@@ -21,11 +21,21 @@ ENUM_NEXT(pen_names, PEN_IBM, PEN_IBM, PEN_IETF,
        "IBM");
 ENUM_NEXT(pen_names, PEN_MICROSOFT, PEN_MICROSOFT, PEN_IBM,
        "Microsoft");
-ENUM_NEXT(pen_names, PEN_OSC, PEN_OSC, PEN_MICROSOFT,
+ENUM_NEXT(pen_names, PEN_REDHAT, PEN_REDHAT, PEN_MICROSOFT,
+    "Redhat");
+ENUM_NEXT(pen_names, PEN_OSC, PEN_OSC, PEN_REDHAT,
        "OSC");
-ENUM_NEXT(pen_names, PEN_TCG, PEN_TCG, PEN_OSC,
+ENUM_NEXT(pen_names, PEN_DEBIAN, PEN_DEBIAN, PEN_OSC,
+       "Debian");
+ENUM_NEXT(pen_names, PEN_GOOGLE, PEN_GOOGLE, PEN_DEBIAN,
+       "Google");
+ENUM_NEXT(pen_names, PEN_TCG, PEN_TCG, PEN_GOOGLE,
        "TCG");
-ENUM_NEXT(pen_names, PEN_FHH, PEN_FHH, PEN_TCG,
+ENUM_NEXT(pen_names, PEN_CANONICAL, PEN_CANONICAL, PEN_TCG,
+    "Canonical");
+ENUM_NEXT(pen_names, PEN_FEDORA, PEN_FEDORA, PEN_CANONICAL,
+       "Fedora");
+ENUM_NEXT(pen_names, PEN_FHH, PEN_FHH, PEN_FEDORA,
        "FHH");
 ENUM_NEXT(pen_names, PEN_ITA, PEN_ITA, PEN_FHH,
        "ITA-HSR");
index 78b6e4d..9d5df7d 100644 (file)
@@ -33,8 +33,13 @@ enum pen_t {
        PEN_IETF =              0x000000,       /*        0 */
        PEN_IBM =               0x000002,       /*        2 */
        PEN_MICROSOFT = 0x000137,       /*      311 */
+       PEN_REDHAT =    0x000908,       /*     2312 */
        PEN_OSC =               0x002358,       /*     9048 */
+       PEN_DEBIAN =    0x002572,       /*     9586 */
+       PEN_GOOGLE =    0x002B79,       /*    11129 */
        PEN_TCG =               0x005597,       /*    21911 */
+       PEN_CANONICAL = 0x007132,       /*    28978 */
+       PEN_FEDORA =    0x0076C1,       /*    30401 */
        PEN_FHH =               0x0080ab,       /*    32939 */
        PEN_ITA =               0x00902a,       /*    36906 */
        PEN_OPENPTS =   0x00950e,       /*    38158 */