summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sysdep
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-08-06 11:23:12 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-08-06 11:23:12 +0000
commit4ed45f237e8c61324728bfecbd1bb3827db3622e (patch)
tree7ab9bb17b822d4d455331f3f3343e766bdac40e8 /sbin/isakmpd/sysdep
parent710ec26e437ebca738477e6f17b48f9ae493f42e (diff)
support ESP with cast/blowfish in KAME plattforms
Diffstat (limited to 'sbin/isakmpd/sysdep')
-rw-r--r--sbin/isakmpd/sysdep/darwin/sysdep-os.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/isakmpd/sysdep/darwin/sysdep-os.h b/sbin/isakmpd/sysdep/darwin/sysdep-os.h
index df878e521f3..28755bcd2f2 100644
--- a/sbin/isakmpd/sysdep/darwin/sysdep-os.h
+++ b/sbin/isakmpd/sysdep/darwin/sysdep-os.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysdep-os.h,v 1.2 2003/06/03 14:53:11 ho Exp $ */
+/* $OpenBSD: sysdep-os.h,v 1.3 2003/08/06 11:23:11 markus Exp $ */
/*
* Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved.
@@ -46,6 +46,14 @@ typedef u_int32_t socklen_t;
#define CPI_PRIVATE_MAX 65536
#endif
+#if !defined(SADB_X_EALG_CAST) && defined(SADB_X_EALG_CAST128CBC)
+#define SADB_X_EALG_CAST SADB_X_EALG_CAST128CBC
+#endif
+
+#if !defined(SADB_X_EALG_BLF) && defined(SADB_X_EALG_BLOWFISHCBC)
+#define SADB_X_EALG_BLF SADB_X_EALG_BLOWFISHCBC
+#endif
+
#if 1
/* OpenSSL differs from OpenBSD very slightly... */