Commit 7d952d21 authored by Niels Möller's avatar Niels Möller

*** 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
parent ff541275
Tue Jan 5 05:54:34 1999 <nisse@puck>
* 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 <ray@zensunni>
* digit_table.c: Fixed declaration of main.
......
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)
......
......@@ -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")))
*/
......
......@@ -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.
......
......@@ -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;
}
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment