summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.h
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 /sys/netinet/ip_ipsp.h
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 'sys/netinet/ip_ipsp.h')
-rw-r--r--sys/netinet/ip_ipsp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index 1c434a92f9f..1bea23e1e2b 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.195 2020/09/01 01:53:34 gnezdo Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.196 2020/11/05 19:28:28 phessler Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr),
@@ -303,6 +303,7 @@ struct ipsec_policy {
#define IPSP_IDENTITY_PREFIX 1
#define IPSP_IDENTITY_FQDN 2
#define IPSP_IDENTITY_USERFQDN 3
+#define IPSP_IDENTITY_ASN1_DN 4
struct tdb { /* tunnel descriptor block */
/*