1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Switch default host key format to SHA256.

Finally! Now all the previous commits have put the infrastructure in
place to fall back to the old fingerprint if you need to, we can
switch to the new format without a total compatibility break.
This commit is contained in:
Simon Tatham 2021-03-13 11:07:34 +00:00
parent 99a3b0c380
commit 66265d30f5

2
ssh.h
View File

@ -1335,7 +1335,7 @@ typedef enum {
SSH_FPTYPE_SHA256,
} FingerprintType;
#define SSH_FPTYPE_DEFAULT SSH_FPTYPE_MD5
#define SSH_FPTYPE_DEFAULT SSH_FPTYPE_SHA256
#define SSH_N_FPTYPES (SSH_FPTYPE_SHA256 + 1)
FingerprintType ssh2_pick_fingerprint(char **fingerprints,