]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - ssh.h
Cleanups to reduce dependency on Windows SFTP tools always having a
[PuTTY.git] / ssh.h
diff --git a/ssh.h b/ssh.h
index cca3ec07ca915f8a68466e292e8ed5e65a944979..e45c653ff33115bfa9b2741112e3efa2f9041b04 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -252,6 +252,9 @@ struct ssh2_userkey {
     char *comment;                    /* the key comment */
 };
 
+/* The maximum length of any hash algorithm used in kex. (bytes) */
+#define SSH2_KEX_MAX_HASH_LEN (32) /* SHA-256 */
+
 extern const struct ssh_cipher ssh_3des;
 extern const struct ssh_cipher ssh_des;
 extern const struct ssh_cipher ssh_blowfish_ssh1;