Module Name: src
Committed By: dholland
Date: Sun Jul 26 02:07:12 UTC 2009
Modified Files:
src/bin/ed: cbc.c
Log Message:
remove unused global variable
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/bin/ed/cbc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/ed/cbc.c
diff -u src/bin/ed/cbc.c:1.20 src/bin/ed/cbc.c:1.21
--- src/bin/ed/cbc.c:1.20 Sun Jul 26 02:06:37 2009
+++ src/bin/ed/cbc.c Sun Jul 26 02:07:12 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: cbc.c,v 1.20 2009/07/26 02:06:37 dholland Exp $ */
+/* $NetBSD: cbc.c,v 1.21 2009/07/26 02:07:12 dholland Exp $ */
/* cbc.c: This file contains the encryption routines for the ed line editor */
/*-
@@ -72,7 +72,7 @@
#if 0
static char *rcsid = "@(#)cbc.c,v 1.2 1994/02/01 00:34:36 alm Exp";
#else
-__RCSID("$NetBSD: cbc.c,v 1.20 2009/07/26 02:06:37 dholland Exp $");
+__RCSID("$NetBSD: cbc.c,v 1.21 2009/07/26 02:07:12 dholland Exp $");
#endif
#endif /* not lint */
@@ -128,10 +128,6 @@
* global variables and related macros
*/
-enum { /* encrypt, decrypt, authenticate */
- MODE_ENCRYPT, MODE_DECRYPT, MODE_AUTHENTICATE
-} mode = MODE_ENCRYPT;
-
static Desbuf ivec; /* initialization vector */
static Desbuf pvec; /* padding vector */
static char bits[] = { /* used to extract bits from a char */