]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
identification: Support explicit uri: prefix for SANs of type uniformResourceIdentifier
authorTobias Brunner <tobias@strongswan.org>
Thu, 9 Nov 2023 11:43:44 +0000 (12:43 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 13 Nov 2023 11:33:39 +0000 (12:33 +0100)
src/libstrongswan/utils/identification.c

index 6ddaf6c3ee16d7da3e53ac5bc6be56c9e9c692bb..9a8f3200ef8b3e5228361afb3c5b413bfaadcc63 100644 (file)
@@ -1441,6 +1441,7 @@ static private_identification_t* create_from_string_with_prefix_type(char *str)
                { "asn1gn:",            ID_DER_ASN1_GN                  },
                { "xmppaddr:",          ID_DER_ASN1_GN          },
                { "keyid:",                     ID_KEY_ID                               },
+               { "uri:",                       ID_DER_ASN1_GN_URI              },
        };
        private_identification_t *this;
        int i;