diff options
-rw-r--r-- | ssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1260,7 +1260,7 @@ load_public_identity_files(void) | |||
1260 | public = key_load_public(filename, NULL); | 1260 | public = key_load_public(filename, NULL); |
1261 | debug("identity file %s type %d", filename, | 1261 | debug("identity file %s type %d", filename, |
1262 | public ? public->type : -1); | 1262 | public ? public->type : -1); |
1263 | if (blacklisted_key(public, &fp) == 1) { | 1263 | if (public && blacklisted_key(public, &fp) == 1) { |
1264 | if (options.use_blacklisted_keys) | 1264 | if (options.use_blacklisted_keys) |
1265 | logit("Public key %s blacklisted (see " | 1265 | logit("Public key %s blacklisted (see " |
1266 | "ssh-vulnkey(1)); continuing anyway", fp); | 1266 | "ssh-vulnkey(1)); continuing anyway", fp); |