libstrongswan: xmppaddr prefix designates an xmppAddr otherName ID type

This commit is contained in:
Andreas Steffen
2018-05-30 17:25:28 +02:00
parent b2ab0995c1
commit 6d087b33de
3 changed files with 27 additions and 1 deletions
@@ -234,6 +234,12 @@ static struct {
.data.c = chunk_from_chars(0xc0,0xa8,0x01,0x01) }},
{ "email:tester", ID_RFC822_ADDR, { .type = ENC_STRING,
.data.s = "tester" }},
{"xmppaddr:[email protected]", ID_DER_ASN1_GN, { .type = ENC_CHUNK,
.data.c = chunk_from_chars(0xa0,0x20,0x06,0x08,0x2b,0x06,0x01,0x05,
0x05,0x07,0x08,0x05,0xa0,0x14,0x0c,0x12,
0x62,0x6f,0x62,0x40,0x73,0x74,0x72,0x6f,
0x6e,0x67,0x73,0x77,0x61,0x6e,0x2e,0x6f,
0x72,0x67) }},
{ "{1}:#c0a80101", ID_IPV4_ADDR, { .type = ENC_CHUNK,
.data.c = chunk_from_chars(0xc0,0xa8,0x01,0x01) }},
{ "{0x02}:tester", ID_FQDN, { .type = ENC_STRING,