diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-25 15:41:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-25 15:41:08 +0000 |
commit | 462a5b31673474830f69aabd0be0329cb05b4c0a (patch) | |
tree | d96e41dfb2c649d07bd08eeca30ae98cce83b1b8 /bin/ed/cbc.c | |
parent | 88a093d815fbf2e2a4bdbb7dd0875a9017f5397b (diff) |
various small lint cleanups; ok otto
Diffstat (limited to 'bin/ed/cbc.c')
-rw-r--r-- | bin/ed/cbc.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/ed/cbc.c b/bin/ed/cbc.c index 65a3290bbe5..891757a2896 100644 --- a/bin/ed/cbc.c +++ b/bin/ed/cbc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cbc.c,v 1.13 2004/05/08 07:05:19 deraadt Exp $ */ +/* $OpenBSD: cbc.c,v 1.14 2006/04/25 15:41:07 deraadt Exp $ */ /* $NetBSD: cbc.c,v 1.9 1995/03/21 09:04:36 cgd Exp $ */ /* cbc.c: This file contains the encryption routines for the ed line editor */ @@ -40,7 +40,7 @@ #if 0 static char *rcsid = "@(#)cbc.c,v 1.2 1994/02/01 00:34:36 alm Exp"; #else -static char rcsid[] = "$OpenBSD: cbc.c,v 1.13 2004/05/08 07:05:19 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: cbc.c,v 1.14 2006/04/25 15:41:07 deraadt Exp $"; #endif #endif /* not lint */ @@ -86,10 +86,6 @@ typedef char Desbuf[8]; * global variables and related macros */ -enum { /* encrypt, decrypt, authenticate */ - MODE_ENCRYPT, MODE_DECRYPT, MODE_AUTHENTICATE -} mode = MODE_ENCRYPT; - Desbuf ivec; /* initialization vector */ Desbuf pvec; /* padding vector */ char bits[] = { /* used to extract bits from a char */ |