Add a new SSH2 bug: some servers apparently claim to be able to do
[sgt/putty] / putty.h
diff --git a/putty.h b/putty.h
index e98bd7d..903695e 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -276,8 +276,8 @@ typedef struct {
     char termtype[32];
     char termspeed[32];
     char environmt[1024];             /* VAR\tvalue\0VAR\tvalue\0\0 */
-    char username[32];
-    char localusername[32];
+    char username[100];
+    char localusername[100];
     int rfc_environ;
     int passive_telnet;
     /* Keyboard options */
@@ -372,7 +372,8 @@ typedef struct {
     enum {
        BUG_AUTO, BUG_OFF, BUG_ON
     } sshbug_ignore1, sshbug_plainpw1, sshbug_rsa1,
-       sshbug_hmac2, sshbug_derivekey2, sshbug_rsapad2;
+       sshbug_hmac2, sshbug_derivekey2, sshbug_rsapad2,
+       sshbug_dhgex2;
 } Config;
 
 /*
@@ -518,6 +519,7 @@ void term_reconfig(void);
  */
 void logtraffic(unsigned char c, int logmode);
 enum { PKT_INCOMING, PKT_OUTGOING };
+void log_eventlog(char *string);
 void log_packet(int direction, int type, char *texttype, void *data, int len);
 
 /*