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 Missing 0th element in rm_idtype2doi...



details:   https://anonhg.NetBSD.org/src/rev/07f30b615a91
branches:  trunk
changeset: 581705:07f30b615a91
user:      manu <manu%NetBSD.org@localhost>
date:      Fri Jun 03 22:27:06 2005 +0000

description:
Missing 0th element in rm_idtype2doi array

diffstat:

 crypto/dist/ipsec-tools/ChangeLog              |   5 +++++
 crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c |  19 ++++++++++---------
 2 files changed, 15 insertions(+), 9 deletions(-)

diffs (47 lines):

diff -r 1c249c9fe571 -r 07f30b615a91 crypto/dist/ipsec-tools/ChangeLog
--- a/crypto/dist/ipsec-tools/ChangeLog Fri Jun 03 22:17:18 2005 +0000
+++ b/crypto/dist/ipsec-tools/ChangeLog Fri Jun 03 22:27:06 2005 +0000
@@ -1,3 +1,8 @@
+2005-05-31  Aidas Kasparas  <a.kasparas%gmc.lt@localhost>
+
+       * src/racoon/ipsec_doi.c: Inserted missing 0th element of
+         rm_idtype2doi array. Bug #1199700 fix.
+
 2005-05-20  Emmanuel Dreyfus  <manu%netbsd.org@localhost>
 
        From Mike Robinson <sundialservices%users.sourceforge.net@localhost>
diff -r 1c249c9fe571 -r 07f30b615a91 crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c
--- a/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c    Fri Jun 03 22:17:18 2005 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/ipsec_doi.c    Fri Jun 03 22:27:06 2005 +0000
@@ -1,6 +1,6 @@
-/*     $NetBSD: ipsec_doi.c,v 1.6 2005/05/20 01:28:13 manu Exp $       */
-
-/* Id: ipsec_doi.c,v 1.26.2.1 2005/02/17 13:19:18 vanhu Exp */
+/*     $NetBSD: ipsec_doi.c,v 1.7 2005/06/03 22:27:06 manu Exp $       */
+
+/* Id: ipsec_doi.c,v 1.38 2005/05/31 16:07:55 monas Exp */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -4166,14 +4166,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
 };
 



Home | Main Index | Thread Index | Old Index