diff options
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: ssh-add.c,v 1.61 2002/06/19 00:27:55 deraadt Exp $"); | 38 | RCSID("$OpenBSD: ssh-add.c,v 1.63 2002/09/19 15:51:23 markus Exp $"); |
39 | 39 | ||
40 | #include <openssl/evp.h> | 40 | #include <openssl/evp.h> |
41 | 41 | ||
@@ -264,7 +264,7 @@ lock_agent(AuthenticationConnection *ac, int lock) | |||
264 | fprintf(stderr, "Failed to %slock agent.\n", lock ? "" : "un"); | 264 | fprintf(stderr, "Failed to %slock agent.\n", lock ? "" : "un"); |
265 | memset(p1, 0, strlen(p1)); | 265 | memset(p1, 0, strlen(p1)); |
266 | xfree(p1); | 266 | xfree(p1); |
267 | return -1; | 267 | return (ret); |
268 | } | 268 | } |
269 | 269 | ||
270 | static int | 270 | static int |
@@ -290,7 +290,7 @@ usage(void) | |||
290 | fprintf(stderr, " -d Delete identity.\n"); | 290 | fprintf(stderr, " -d Delete identity.\n"); |
291 | fprintf(stderr, " -D Delete all identities.\n"); | 291 | fprintf(stderr, " -D Delete all identities.\n"); |
292 | fprintf(stderr, " -x Lock agent.\n"); | 292 | fprintf(stderr, " -x Lock agent.\n"); |
293 | fprintf(stderr, " -x Unlock agent.\n"); | 293 | fprintf(stderr, " -X Unlock agent.\n"); |
294 | fprintf(stderr, " -t life Set lifetime (in seconds) when adding identities.\n"); | 294 | fprintf(stderr, " -t life Set lifetime (in seconds) when adding identities.\n"); |
295 | #ifdef SMARTCARD | 295 | #ifdef SMARTCARD |
296 | fprintf(stderr, " -s reader Add key in smartcard reader.\n"); | 296 | fprintf(stderr, " -s reader Add key in smartcard reader.\n"); |