summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index 0f4756ef2..85043a8c0 100644
--- a/ssh.c
+++ b/ssh.c
@@ -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);