Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/kame/racoon do not build "null ESP and no AUTH" ...



details:   https://anonhg.NetBSD.org/src/rev/89149e93a6d5
branches:  trunk
changeset: 553939:89149e93a6d5
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu Oct 23 07:23:50 2003 +0000

description:
do not build "null ESP and no AUTH" proposal.  (racoon 174) by Tom Lendacky

diffstat:

 crypto/dist/kame/racoon/ipsec_doi.c |  13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diffs (34 lines):

diff -r 854c11973adf -r 89149e93a6d5 crypto/dist/kame/racoon/ipsec_doi.c
--- a/crypto/dist/kame/racoon/ipsec_doi.c       Thu Oct 23 06:30:32 2003 +0000
+++ b/crypto/dist/kame/racoon/ipsec_doi.c       Thu Oct 23 07:23:50 2003 +0000
@@ -1,4 +1,4 @@
-/*     $KAME: ipsec_doi.c,v 1.162 2003/06/27 07:32:38 sakane Exp $     */
+/*     $KAME: ipsec_doi.c,v 1.164 2003/10/23 07:22:45 itojun Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: ipsec_doi.c,v 1.13 2003/07/12 09:37:10 itojun Exp $");
+__RCSID("$NetBSD: ipsec_doi.c,v 1.14 2003/10/23 07:23:50 itojun Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -2674,13 +2674,8 @@
                         * with no authentication transform.
                         */
                        if (tr->trns_id == IPSECDOI_ESP_NULL &&
-                           tr->authtype == IPSECDOI_ATTR_AUTH_NONE) {
-                               plog(LLV_ERROR, LOCATION, NULL,
-                                   "attr AUTH must be present "
-                                   "for ESP NULL encryption.\n");
-                               vfree(p);
-                               return NULL;
-                       }
+                           tr->authtype == IPSECDOI_ATTR_AUTH_NONE)
+                               continue;
                        break;
                }
 



Home | Main Index | Thread Index | Old Index