From Larry Baird: define SADB_X_EALG_AESCBC as SADB_X_EALG_AES if needed

This commit is contained in:
vanhu 2006-09-19 07:51:31 +00:00
parent 478aed1af7
commit a2afb48bcf
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pfkey_dump.c,v 1.13 2006/09/09 16:22:09 manu Exp $ */
/* $NetBSD: pfkey_dump.c,v 1.14 2006/09/19 07:51:31 vanhu Exp $ */
/* $KAME: pfkey_dump.c,v 1.45 2003/09/08 10:14:56 itojun Exp $ */
@ -80,6 +80,9 @@
#define SADB_X_EALG_RC5CBC SADB_EALG_RC5CBC
#endif
#endif
#if defined(SADB_X_EALG_AES) && ! defined(SADB_X_EALG_AESCBC)
#define SADB_X_EALG_AESCBC SADB_X_EALG_AES
#endif
#define GETMSGSTR(str, num) \
do { \

View File

@ -1,4 +1,4 @@
/* $NetBSD: token.l,v 1.9 2006/09/09 16:22:37 manu Exp $ */
/* $NetBSD: token.l,v 1.10 2006/09/19 07:51:32 vanhu Exp $ */
/* $KAME: token.l,v 1.44 2003/10/21 07:20:58 itojun Exp $ */
@ -87,6 +87,9 @@
#ifndef SADB_X_EALG_AESCTR
#define SADB_X_EALG_AESCTR (-1)
#endif
#if defined(SADB_X_EALG_AES) && ! defined(SADB_X_EALG_AESCBC)
#define SADB_X_EALG_AESCBC SADB_X_EALG_AES
#endif
%}
/* common section */