|
From: Aidas K. <mo...@us...> - 2005-05-31 05:56:09
|
Update of /cvsroot/ipsec-tools/ipsec-tools/src/racoon In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11042/src/racoon Modified Files: Tag: ipsec-tools-0_5-branch ipsec_doi.c Log Message: Inserted missing 0th element. Bug #1199700 fix. Index: ipsec_doi.c =================================================================== RCS file: /cvsroot/ipsec-tools/ipsec-tools/src/racoon/ipsec_doi.c,v retrieving revision 1.24.2.5 retrieving revision 1.24.2.6 diff -u -d -r1.24.2.5 -r1.24.2.6 --- ipsec_doi.c 25 Apr 2005 22:06:32 -0000 1.24.2.5 +++ ipsec_doi.c 31 May 2005 05:56:00 -0000 1.24.2.6 @@ -4002,14 +4002,15 @@ #endif static int rm_idtype2doi[] = { - IPSECDOI_ID_FQDN, - IPSECDOI_ID_USER_FQDN, - IPSECDOI_ID_KEY_ID, - 255, /* it's type of "address" + 255, /* IDTYPE_UNDEFINED, 0 */ + IPSECDOI_ID_FQDN, /* IDTYPE_FQDN, 1 */ + IPSECDOI_ID_USER_FQDN, /* IDTYPE_USERFQDN, 2 */ + IPSECDOI_ID_KEY_ID, /* IDTYPE_KEYID, 3 */ + 255, /* IDTYPE_ADDRESS, 4 * it expands into 4 types by another function. */ - IPSECDOI_ID_DER_ASN1_DN, + IPSECDOI_ID_DER_ASN1_DN, /* IDTYPE_ASN1DN, 5 */ #ifdef ENABLE_HYBRID - 255, /* It's type LOGIN */ + 255, /* IDTYPE_LOGIN, 6 */ #endif }; |