Commit b2a53815 authored by Niels Möller's avatar Niels Möller
Browse files

(do_debug): Censor packets of type

SSH_MSG_USERAUTH_INFO_RESPONSE.

Rev: src/debug.c:1.41
parent b0bca71e
...@@ -54,7 +54,8 @@ do_debug(struct abstract_write *w, ...@@ -54,7 +54,8 @@ do_debug(struct abstract_write *w,
else else
{ {
uint8_t type = lsh_string_data(packet)[0]; uint8_t type = lsh_string_data(packet)[0];
if (type == SSH_MSG_USERAUTH_REQUEST) if (type == SSH_MSG_USERAUTH_REQUEST
|| type == SSH_MSG_USERAUTH_INFO_RESPONSE)
debug("DEBUG: %S %z *****\n", debug("DEBUG: %S %z *****\n",
closure->prefix, packet_types[type]); closure->prefix, packet_types[type]);
else else
......
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