]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
builder: Define a builder part for X.509 RFC 3779 address blocks
authorMartin Willi <martin@strongswan.org>
Tue, 21 Feb 2017 14:04:18 +0000 (15:04 +0100)
committerMartin Willi <martin@strongswan.org>
Mon, 27 Feb 2017 08:36:48 +0000 (09:36 +0100)
src/libstrongswan/credentials/builder.c
src/libstrongswan/credentials/builder.h

index 243dfd7cf9f2b1a40923493f1c0dad1e0c0c5b8a..baa17c47df0ac5d2b4c590b080776a1a3be18fff 100644 (file)
@@ -45,6 +45,7 @@ ENUM(builder_part_names, BUILD_FROM_FILE, BUILD_END,
        "BUILD_CRL_DISTRIBUTION_POINTS",
        "BUILD_OCSP_ACCESS_LOCATIONS",
        "BUILD_PATHLEN",
+       "BUILD_ADDRBLOCKS",
        "BUILD_PERMITTED_NAME_CONSTRAINTS",
        "BUILD_EXCLUDED_NAME_CONSTRAINTS",
        "BUILD_CERTIFICATE_POLICIES",
index 7d11393480d7c2989156ad420987b648df68622f..1c6f5001b2b8a0ab8e538772935eea7528aa4bf1 100644 (file)
@@ -100,6 +100,8 @@ enum builder_part_t {
        BUILD_OCSP_ACCESS_LOCATIONS,
        /** certificate path length constraint */
        BUILD_PATHLEN,
+       /** RFC3779 addressBlock, linked_list_t* of traffic_selector_t* */
+       BUILD_ADDRBLOCKS,
        /** permitted X509 name constraints, linked_list_t* of identification_t* */
        BUILD_PERMITTED_NAME_CONSTRAINTS,
        /** excluded X509 name constraints, linked_list_t* of identification_t* */