summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-24 07:29:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-12-24 07:29:44 +0000
commit0d5f323f5c656b8af2ef8314256eb580d766d75c (patch)
tree3e5dbe882825e019191feebc25acedb87e778969 /usr.bin
parent523094721d7129d36b81523b4fe6bb581f2a21d8 (diff)
try all listed keys.. how did this get broken?
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/ssh-add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c
index ad853f1c074..28728f35ef4 100644
--- a/usr.bin/ssh/ssh-add.c
+++ b/usr.bin/ssh/ssh-add.c
@@ -35,7 +35,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-add.c,v 1.48 2001/12/21 10:06:43 djm Exp $");
+RCSID("$OpenBSD: ssh-add.c,v 1.49 2001/12/24 07:29:43 deraadt Exp $");
#include <openssl/evp.h>
@@ -312,7 +312,7 @@ main(int argc, char **argv)
}
} else {
for(i = 0; i < argc; i++) {
- if (do_file(ac, deleting, argv[1]) == -1)
+ if (do_file(ac, deleting, argv[i]) == -1)
ret = 1;
}
}