diff --git a/windows/winpgnt.c b/windows/winpgnt.c index 6d6d1b9b..c0ffcf63 100644 --- a/windows/winpgnt.c +++ b/windows/winpgnt.c @@ -378,7 +378,7 @@ static void keylist_update_callback( ptrlen algname = get_string(src); const ssh_keyalg *alg = find_pubkey_alg_len(algname); - bool include_bit_count = (alg == &ssh_dss && alg == &ssh_rsa); + bool include_bit_count = (alg == &ssh_dss || alg == &ssh_rsa); int wordnumber = 0; for (const char *p = fingerprint; *p; p++) {