X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/c6daaa1a4842b06f4eb0f7fef5f969d12b5020ce..754c0df9e163ff5c244239a201026858f4381e73:/ssh.h diff --git a/ssh.h b/ssh.h index cca3ec07..e45c653f 100644 --- 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;