Skip to content

Commit

Permalink
remove a waste check.
Browse files Browse the repository at this point in the history
  • Loading branch information
sakane committed Jul 18, 2000
1 parent 1d874b6 commit 83bd92c
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions kame/kame/racoon/isakmp_quick.c
Expand Up @@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
/* YIPS @(#)$Id: isakmp_quick.c,v 1.43 2000/07/18 05:24:58 sakane Exp $ */
/* YIPS @(#)$Id: isakmp_quick.c,v 1.44 2000/07/18 05:43:14 sakane Exp $ */

#include <sys/types.h>
#include <sys/param.h>
Expand Down Expand Up @@ -1027,13 +1027,11 @@ quick_r1recv(iph2, msg0)
}

/* create responder's proposal */
if (iph2->proposal == NULL) {
if (get_proposal_r(iph2) < 0) {
plog(logp, LOCATION, NULL,
"failed to get proposal for responder.\n");
error = ISAKMP_INTERNAL_ERROR;
goto end;
}
if (get_proposal_r(iph2) < 0) {
plog(logp, LOCATION, NULL,
"failed to get proposal for responder.\n");
error = ISAKMP_INTERNAL_ERROR;
goto end;
}

/* select single proposal or reject it. */
Expand Down

0 comments on commit 83bd92c

Please sign in to comment.