summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl/pfkdump.c
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2020-11-05 19:28:29 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2020-11-05 19:28:29 +0000
commitea4968d4c89d18f758256afafecdced32d7f8136 (patch)
tree3e47eef745dc6be56589437aa3bb0c32432bc007 /sbin/ipsecctl/pfkdump.c
parent54d3cff2c8d623786765dca136180c1f6ee1cf9f (diff)
Enable support for ASN1_DN ipsec identifiers.
Tested with multiple Window 10 Pro (ver 2004) clients, and OpenBSD+iked as the server. OK tobhe@ sthen@ kn@
Diffstat (limited to 'sbin/ipsecctl/pfkdump.c')
-rw-r--r--sbin/ipsecctl/pfkdump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ipsecctl/pfkdump.c b/sbin/ipsecctl/pfkdump.c
index 00ddbd8bb19..4d7d3da7797 100644
--- a/sbin/ipsecctl/pfkdump.c
+++ b/sbin/ipsecctl/pfkdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkdump.c,v 1.51 2020/06/01 21:00:51 tobhe Exp $ */
+/* $OpenBSD: pfkdump.c,v 1.52 2020/11/05 19:28:27 phessler Exp $ */
/*
* Copyright (c) 2003 Markus Friedl. All rights reserved.
@@ -198,6 +198,7 @@ struct idname identity_types[] = {
{ SADB_IDENTTYPE_PREFIX, "prefix", NULL },
{ SADB_IDENTTYPE_FQDN, "fqdn", NULL },
{ SADB_IDENTTYPE_USERFQDN, "ufqdn", NULL },
+ { SADB_IDENTTYPE_ASN1_DN, "asn1_dn", NULL },
{ 0, NULL, NULL }
};