set WARNS?=1. fix error trap in rijndael test. sync with kame

This commit is contained in:
itojun 2000-11-08 05:08:55 +00:00
parent e452bf6c6b
commit 2ce9195af1
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,5 @@
# $NetBSD: Makefile.inc,v 1.1.1.1 2000/11/01 15:33:21 itojun Exp $
# $NetBSD: Makefile.inc,v 1.2 2000/11/08 05:08:55 itojun Exp $
# $KAME: Makefile.inc,v 1.1 2000/11/01 14:03:37 itojun Exp $
SYSDIR= ${.CURDIR}/../../../../sys
WARNS?=1

View File

@ -1,5 +1,5 @@
/* $NetBSD: rijndaeltest.c,v 1.1.1.1 2000/11/01 15:33:26 itojun Exp $ */
/* $KAME: rijndaeltest.c,v 1.4 2000/11/01 14:38:24 itojun Exp $ */
/* $NetBSD: rijndaeltest.c,v 1.2 2000/11/08 05:08:56 itojun Exp $ */
/* $KAME: rijndaeltest.c,v 1.5 2000/11/08 05:07:50 itojun Exp $ */
/*
* Copyright (C) 2000 WIDE Project.
@ -178,7 +178,7 @@ next1:;
printf("blockEncrypt failed for %s %d/%d\n",
test, i, j);
error++;
goto next1;
goto next2;
}
memcpy(input, output, sizeof(input));