From 7d952d21097b696118ec1e19a9578c7eb35f3753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Tue, 5 Jan 1999 06:17:45 +0100 Subject: [PATCH] *** empty log message *** Rev: ChangeLog:1.27 Rev: NEWS:1.7 Rev: src/abstract_crypto.h:1.18 Rev: src/configure.in:1.22 Rev: src/lsh.c:1.36 Rev: src/read_packet.c:1.30 --- ChangeLog | 15 +++++++++++++++ NEWS | 7 +++++++ src/abstract_crypto.h | 2 +- src/configure.in | 6 +++--- src/lsh.c | 5 ++++- src/read_packet.c | 2 +- 6 files changed, 31 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index f645b8ae..4bcf186f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +Tue Jan 5 05:54:34 1999 + + * keyexchange.c (kex_make_key): Fixed key expansion. + + * des.c (make_des_instance): Fix _odd_ parity. + + * cbc.c (do_cbc_encrypt): Bug fix. + (do_cbc_decrypt): Handle the case src == dst correctly. + + * cascade.c (do_make_cascade): Make sure keys are applied in the + right (i.e. reversed) order when decrypting. + + * Makefile.am.in (depend): Disabled the rule to explicitly build + dependency files. + Sun Jan 3 16:54:29 1999 * digit_table.c: Fixed declaration of main. diff --git a/NEWS b/NEWS index 337e50f4..4f981d7b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,10 @@ +NEWS for the 1999-01--5 snapshot: + + Command lien options to select which algorithms to use. + + Various bug fixes. The 3des and blowfish support seems do work + now. + NEWS for the 1999-01-01 snapshot: ZLIB support. (Bazsi) diff --git a/src/abstract_crypto.h b/src/abstract_crypto.h index 82df86d1..e4e84f67 100644 --- a/src/abstract_crypto.h +++ b/src/abstract_crypto.h @@ -44,7 +44,7 @@ (vars (block_size simple UINT32) ; Length must be a multiple of the block size. - ; NOTE: src == dst is allowed. + ; NOTE: src == dst is allowed, but no other overlaps. (crypt method void "UINT32 length" "const UINT8 *src" "UINT8 *dst"))) */ diff --git a/src/configure.in b/src/configure.in index 283223ea..26a11d32 100644 --- a/src/configure.in +++ b/src/configure.in @@ -276,9 +276,9 @@ fi # Set these flags *last*, or else the test programs won't compile if test x$GCC = xyes ; then CFLAGS="$CFLAGS -Wall -W \ - -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \ - -Waggregate-return \ - -Wpointer-arith -Wbad-function-cast -Wnested-externs" + -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes \ + -Waggregate-return \ + -Wpointer-arith -Wbad-function-cast -Wnested-externs" # Don't enable -Wcast-align as it results in tons of warnings in the # DES code. And when using stdio. diff --git a/src/lsh.c b/src/lsh.c index d461c90e..eb782029 100644 --- a/src/lsh.c +++ b/src/lsh.c @@ -292,12 +292,15 @@ int main(int argc, char **argv) werror("lsh: Connection failed: %s\n", strerror(errno)); return 1; } - + /* Exit code if no session is established */ lsh_exit_code = 17; io_run(backend); + /* FIXME: Perhaps we have to reset the stdio file descriptors to + * blocking mode? */ + return lsh_exit_code; } diff --git a/src/read_packet.c b/src/read_packet.c index 79d00c3a..3e775681 100644 --- a/src/read_packet.c +++ b/src/read_packet.c @@ -139,7 +139,7 @@ static int do_read_packet(struct read_handler **h, closure->pos += n; total += n; - /* Read a complete block? */ + /* Read a complete header? */ if ( (unsigned) n == left) { UINT32 length; -- GitLab