diff options
author | jmg <jmg@FreeBSD.org> | 2013-03-23 19:04:57 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2013-03-23 19:04:57 +0000 |
commit | cd87adcccda5a0f4ff3581786f849db2f1732dd1 (patch) | |
tree | 51ef984abd9ee155901230f36df125064d42534d /bin | |
parent | 6b18376e6224543a014a5697b211f2cfd486f448 (diff) | |
download | FreeBSD-src-cd87adcccda5a0f4ff3581786f849db2f1732dd1.zip FreeBSD-src-cd87adcccda5a0f4ff3581786f849db2f1732dd1.tar.gz |
Fix compiling ed w/ WITHOUT_ED_CRYPTO... These variables aren't
used..
Submitted by: deeptech71 at gmail dot com
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ed/cbc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ed/cbc.c b/bin/ed/cbc.c index 08e48cd..31838f5 100644 --- a/bin/ed/cbc.c +++ b/bin/ed/cbc.c @@ -71,7 +71,6 @@ __FBSDID("$FreeBSD$"); #ifdef DES static DES_cblock ivec; /* initialization vector */ static DES_cblock pvec; /* padding vector */ -#endif static char bits[] = { /* used to extract bits from a char */ '\200', '\100', '\040', '\020', '\010', '\004', '\002', '\001' @@ -79,13 +78,12 @@ static char bits[] = { /* used to extract bits from a char */ static int pflag; /* 1 to preserve parity bits */ -#ifdef DES static DES_key_schedule schedule; /* expanded DES key */ -#endif static unsigned char des_buf[8];/* shared buffer for get_des_char/put_des_char */ static int des_ct = 0; /* count for get_des_char/put_des_char */ static int des_n = 0; /* index for put_des_char/get_des_char */ +#endif /* init_des_cipher: initialize DES */ void |