|
From: Aidas K. <mo...@us...> - 2005-05-31 06:06:03
|
Update of /cvsroot/ipsec-tools/ipsec-tools/src/racoon In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16412/src/racoon Modified Files: Tag: ipsec-tools-0_6-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.26.2.7 retrieving revision 1.26.2.8 diff -u -d -r1.26.2.7 -r1.26.2.8 --- ipsec_doi.c 20 May 2005 01:16:00 -0000 1.26.2.7 +++ ipsec_doi.c 31 May 2005 06:05:53 -0000 1.26.2.8 @@ -4165,14 +4165,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 }; |