svn commit: r248656 - head/bin/ed
John-Mark Gurney
jmg at FreeBSD.org
Sat Mar 23 19:04:58 UTC 2013
Author: jmg
Date: Sat Mar 23 19:04:57 2013
New Revision: 248656
URL: http://svnweb.freebsd.org/changeset/base/248656
Log:
Fix compiling ed w/ WITHOUT_ED_CRYPTO... These variables aren't
used..
Submitted by: deeptech71 at gmail dot com
Modified:
head/bin/ed/cbc.c
Modified: head/bin/ed/cbc.c
==============================================================================
--- head/bin/ed/cbc.c Sat Mar 23 17:17:06 2013 (r248655)
+++ head/bin/ed/cbc.c Sat Mar 23 19:04:57 2013 (r248656)
@@ -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 extr
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
More information about the svn-src-head
mailing list