correct handling of "unique" policy. bump version to 20020507
(corresponds to filename in ftp://ftp.kame.net/pub/kame).
This commit is contained in:
parent
7d134e662e
commit
c68a2428ba
4
crypto/dist/kame/racoon/isakmp_quick.c
vendored
4
crypto/dist/kame/racoon/isakmp_quick.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $KAME: isakmp_quick.c,v 1.92 2002/03/05 15:34:59 sakane Exp $ */
|
||||
/* $KAME: isakmp_quick.c,v 1.93 2002/05/07 17:47:55 sakane Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
@ -87,7 +87,9 @@
|
||||
static vchar_t *quick_ir1mx __P((struct ph2handle *, vchar_t *, vchar_t *));
|
||||
static int get_sainfo_r __P((struct ph2handle *));
|
||||
static int get_proposal_r __P((struct ph2handle *));
|
||||
#ifdef INET6
|
||||
static u_int32_t setscopeid __P((struct sockaddr *, struct sockaddr *));
|
||||
#endif
|
||||
|
||||
/* %%%
|
||||
* Quick Mode
|
||||
|
12
crypto/dist/kame/racoon/proposal.c
vendored
12
crypto/dist/kame/racoon/proposal.c
vendored
@ -1,4 +1,4 @@
|
||||
/* $KAME: proposal.c,v 1.47 2002/04/16 04:10:23 sakane Exp $ */
|
||||
/* $KAME: proposal.c,v 1.48 2002/05/07 09:32:50 sakane Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
@ -983,7 +983,10 @@ set_proposal_from_policy(iph2, sp_main, sp_sub)
|
||||
else
|
||||
newpr->encmode = encmodesv;
|
||||
|
||||
newpr->reqid_out = req->saidx.reqid;
|
||||
if (iph2->side == INITIATOR)
|
||||
newpr->reqid_out = req->saidx.reqid;
|
||||
else
|
||||
newpr->reqid_in = req->saidx.reqid;
|
||||
|
||||
if (set_satrnsbysainfo(newpr, iph2->sainfo) < 0) {
|
||||
plog(LLV_ERROR, LOCATION, NULL,
|
||||
@ -1002,7 +1005,10 @@ set_proposal_from_policy(iph2, sp_main, sp_sub)
|
||||
req = sp_sub->req;
|
||||
pr = newpp->head;
|
||||
while (req && pr) {
|
||||
pr->reqid_in = req->saidx.reqid;
|
||||
if (iph2->side == INITIATOR)
|
||||
pr->reqid_in = req->saidx.reqid;
|
||||
else
|
||||
pr->reqid_out = req->saidx.reqid;
|
||||
pr = pr->next;
|
||||
req = req->next;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.6 2002/04/26 02:25:15 itojun Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.7 2002/05/13 02:10:35 itojun Exp $
|
||||
|
||||
# point top of your KAME tree by ${KAMEROOT}
|
||||
LIBPFKEYSRCDIR= ${.CURDIR}/../../../crypto/dist/kame/libipsec
|
||||
@ -15,6 +15,6 @@ LDSTATIC?= -static
|
||||
|
||||
DBG= -g
|
||||
|
||||
PKGVERSION= netbsd-20020426
|
||||
PKGVERSION= netbsd-20020507
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
Loading…
Reference in New Issue
Block a user