+20000501
+ - OpenBSD CVS update
+ [packet.c]
+ - send debug messages in SSH2 format
+
20000430
- Merge HP-UX fixes and TCB support from Ged Lodder <lodder@yacc.com.au>
- Integrate Andre Lucas' <andre.lucas@dial.pipex.com> entropy collection
vsnprintf(buf, sizeof(buf), fmt, args);
va_end(args);
- packet_start(SSH_MSG_DEBUG);
- packet_put_string(buf, strlen(buf));
+ if (compat20) {
+ packet_start(SSH2_MSG_DEBUG);
+ packet_put_char(0); /* bool: always display */
+ packet_put_cstring(buf);
+ packet_put_cstring("");
+ } else {
+ packet_start(SSH_MSG_DEBUG);
+ packet_put_cstring(buf);
+ }
packet_send();
packet_write_wait();
}