The unified diff between revisions [f452aa06..] and [a4cab2b4..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'cli-session.c'

#
#
# patch "cli-session.c"
#  from [e088b599dbdbd93930ff21e6bebe7dcbfbf66ed3]
#    to [49416025c7fc3883ad9b8975474ad68307b24717]
#
============================================================
--- cli-session.c	e088b599dbdbd93930ff21e6bebe7dcbfbf66ed3
+++ cli-session.c	49416025c7fc3883ad9b8975474ad68307b24717
@@ -63,9 +63,7 @@ static const packettype cli_packettypes[
 	{SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation},
 	{SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure},
 	{SSH_MSG_USERAUTH_BANNER, recv_msg_userauth_banner}, /* client */
-#ifdef ENABLE_CLI_PUBKEY_AUTH
-	{SSH_MSG_USERAUTH_PK_OK, recv_msg_userauth_pk_ok}, /* client */
-#endif
+	{SSH_MSG_USERAUTH_SPECIFIC_60, recv_msg_userauth_specific_60}, /* client */
 	{0, 0} /* End */
 };

@@ -285,7 +283,8 @@ static void cli_remoteclosed() {
 }

 /* Operates in-place turning dirty (untrusted potentially containing control
- * characters) text into clean text. */
+ * characters) text into clean text.
+ * Note: this is safe only with ascii - other charsets could have problems. */
 void cleantext(unsigned char* dirtytext) {

 	unsigned int i, j;