1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-12 16:47:42 -05:00

Uppity: configurable list of SSH-1 ciphers to allow.

This commit is contained in:
Simon Tatham
2019-04-01 20:10:09 +01:00
parent bf661a7a2c
commit cbff2d1960
4 changed files with 35 additions and 4 deletions

View File

@ -146,10 +146,7 @@ static void ssh1_login_server_process_queue(PacketProtocolLayer *ppl)
}
s->local_protoflags = SSH1_PROTOFLAGS_SUPPORTED;
/* FIXME: ability to configure this to a subset */
s->supported_ciphers_mask = ((1U << SSH1_CIPHER_3DES) |
(1U << SSH1_CIPHER_BLOWFISH) |
(1U << SSH1_CIPHER_DES));
s->supported_ciphers_mask = s->ssc->ssh1_cipher_mask;
s->supported_auths_mask = 0;
s->ap_methods = auth_methods(s->authpolicy);
if (s->ap_methods & AUTHMETHOD_PASSWORD)