Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ipsec-tools/src/include-glibc/net From Rainer We...



details:   https://anonhg.NetBSD.org/src/rev/d0d61c389620
branches:  trunk
changeset: 786934:d0d61c389620
user:      tteras <tteras%NetBSD.org@localhost>
date:      Thu May 23 05:42:29 2013 +0000

description:
>From Rainer Weikusat <rweikusat%mobileactivedefense.com@localhost>: Fix
SADB_X_EALG_CASTCBC definition to use system definition (which
differs at least on Linux).
------------------------

diffstat:

 crypto/dist/ipsec-tools/src/include-glibc/net/pfkeyv2.h |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 5f6d8d7ad7ed -r d0d61c389620 crypto/dist/ipsec-tools/src/include-glibc/net/pfkeyv2.h
--- a/crypto/dist/ipsec-tools/src/include-glibc/net/pfkeyv2.h   Wed May 22 19:35:11 2013 +0000
+++ b/crypto/dist/ipsec-tools/src/include-glibc/net/pfkeyv2.h   Thu May 23 05:42:29 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pfkeyv2.h,v 1.4 2006/09/09 16:22:08 manu Exp $ */
+/*     $NetBSD: pfkeyv2.h,v 1.5 2013/05/23 05:42:29 tteras Exp $       */
 
 #ifndef __NET_PFKEYV2_H_
 #define __NET_PFKEYV2_H_ 1
@@ -18,7 +18,11 @@
 #define SADB_X_AALG_SHA              250
 
 /* private allocations - based on RFC2407/IANA assignment */
-#define SADB_X_EALG_CAST128CBC 5       /* SADB_X_EALG_CASTCBC? == 6 */
+#ifdef SADB_X_EALG_CASTCBC
+#define SADB_X_EALG_CAST128CBC         SADB_X_EALG_CASTCBC
+#else
+#define SADB_X_EALG_CAST128CBC         5
+#endif
 #define SADB_X_EALG_RIJNDAELCBC                SADB_X_EALG_AESCBC
 #define SADB_X_EALG_AES                        SADB_X_EALG_AESCBC
 



Home | Main Index | Thread Index | Old Index