Implement zlib@openssh.com, using the rekey-after-userauth method suggested in
[sgt/putty] / ssh.h
diff --git a/ssh.h b/ssh.h
index 6acd878..90dafed 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -251,6 +251,9 @@ struct ssh_signkey {
 
 struct ssh_compress {
     char *name;
+    /* For zlib@openssh.com: if non-NULL, this name will be considered once
+     * userauth has completed successfully. */
+    char *delayed_name;
     void *(*compress_init) (void);
     void (*compress_cleanup) (void *);
     int (*compress) (void *, unsigned char *block, int len,