Commit 9230d7f7 authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: .cvsignore:1.3
Rev: doc/TODO:1.77
Rev: doc/srp-spec.txt:1.4
Rev: src/client_userauth.c:1.33
Rev: src/connection.c:1.53
parent 01aaa2a7
......@@ -8,5 +8,6 @@ config.h.in
config.log
config.status
configure
old
stamp-h
stamp-h.in
......@@ -40,5 +40,6 @@ core
/config.log
/config.status
/configure
/old
/stamp-h
/stamp-h.in
......@@ -224,3 +224,8 @@ Occasionally,
exits without writing any "hello". Perhaps some race condition, as I
can't reproduce it reliably.
Get rid of the install_keys class.
invert-defs doesn't work quite right when a message number has several
names. For now, use sort -nu.
......@@ -105,14 +105,14 @@ exchange hash H, as the HASH of the concatenation of the following:
mpint f, exchange value sent by the server
mpint K, the shared secret
The client computes m1 = HASH(H), and sends it to the server, to prove
that it knows the shared key. It sends
The client computes m1 = H, and sends it to the server, to prove that
it knows the shared key. It sends
byte SSH_MSG_KEXSRP_PROOF
string m1
(FIXME: Would it be better to send the exchange hash in the clear,
i.e. use m1 = H?)
(FIXME: Would it be better not to send the exchange hash in the clear,
e.g. use m1 = HASH(H)?)
The server verifies that m is correct using its own K. If they don't
match, the keyexchange fails, and the server MUST NOT send any proof
......
......@@ -312,8 +312,6 @@ do_userauth_banner(struct packet_handler *self UNUSED,
UINT32 language_length;
const UINT8 *language;
CHECK_TYPE(packet_handler, self);
simple_buffer_init(&buffer, packet->length, packet->data);
if (parse_uint8(&buffer, &msg_number)
......
......@@ -136,8 +136,6 @@ do_fail(struct packet_handler *closure UNUSED,
struct ssh_connection *connection,
struct lsh_string *packet)
{
CHECK_TYPE(packet_handler, closure);
lsh_string_free(packet);
PROTOCOL_ERROR(connection->e, NULL);
......@@ -151,8 +149,6 @@ do_unimplemented(struct packet_handler *closure UNUSED,
struct ssh_connection *connection,
struct lsh_string *packet)
{
CHECK_TYPE(packet_handler, closure);
werror("Received packet of unimplemented type %i.\n",
packet->data[0]);
......
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