diff options
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index f71b7d226..658398436 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect2.c,v 1.207 2014/04/29 18:01:49 markus Exp $ */ | 1 | /* $OpenBSD: sshconnect2.c,v 1.208 2014/06/05 22:17:50 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2008 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2008 Damien Miller. All rights reserved. |
@@ -1183,7 +1183,7 @@ pubkey_prepare(Authctxt *authctxt) | |||
1183 | found = 0; | 1183 | found = 0; |
1184 | TAILQ_FOREACH(id2, &files, next) { | 1184 | TAILQ_FOREACH(id2, &files, next) { |
1185 | if (id2->key == NULL || | 1185 | if (id2->key == NULL || |
1186 | (id2->key->flags & KEY_FLAG_EXT) != 0) | 1186 | (id2->key->flags & KEY_FLAG_EXT) == 0) |
1187 | continue; | 1187 | continue; |
1188 | if (key_equal(id->key, id2->key)) { | 1188 | if (key_equal(id->key, id2->key)) { |
1189 | TAILQ_REMOVE(&files, id, next); | 1189 | TAILQ_REMOVE(&files, id, next); |