From Rainer Weikusat <rweikusat@mobileactivedefense.com>: Fix

SADB_X_EALG_CASTCBC definition to use system definition (which
differs at least on Linux).
------------------------
This commit is contained in:
tteras 2013-05-23 05:42:29 +00:00
parent e2bd819f6a
commit fdd5bac4fc
1 changed files with 6 additions and 2 deletions

View File

@ -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