mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Reinstate missing bit counts in Windows Pageant GUI.
An embarrassing braino of && for || produced a boolean expression that could never evaluate true.
This commit is contained in:
parent
571fa3388d
commit
8245510a02
@ -376,7 +376,7 @@ static void keylist_update_callback(
|
|||||||
ptrlen algname = get_string(src);
|
ptrlen algname = get_string(src);
|
||||||
const ssh_keyalg *alg = find_pubkey_alg_len(algname);
|
const ssh_keyalg *alg = find_pubkey_alg_len(algname);
|
||||||
|
|
||||||
bool include_bit_count = (alg == &ssh_dsa && alg == &ssh_rsa);
|
bool include_bit_count = (alg == &ssh_dsa || alg == &ssh_rsa);
|
||||||
|
|
||||||
int wordnumber = 0;
|
int wordnumber = 0;
|
||||||
for (const char *p = fingerprint; *p; p++) {
|
for (const char *p = fingerprint; *p; p++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user