diff options
author | Damien Miller <djm@mindrot.org> | 2003-06-11 22:06:33 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-06-11 22:06:33 +1000 |
commit | d94f20d28e9e966576302cd951776401c2856df6 (patch) | |
tree | 028352e13c131c8500f0826088cc3c4bb3a3c00a /ssh-add.c | |
parent | 0e1b937f1362866765c09c11d3f4066f108ff910 (diff) |
- djm@cvs.openbsd.org 2003/06/11 11:18:38
[authfd.c authfd.h ssh-add.c ssh-agent.c]
make agent constraints (lifetime, confirm) work with smartcard keys;
ok markus@
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 4 |
1 files changed, 2 insertions, 2 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.66 2003/03/05 22:33:43 markus Exp $"); | 38 | RCSID("$OpenBSD: ssh-add.c,v 1.67 2003/06/11 11:18:38 djm Exp $"); |
39 | 39 | ||
40 | #include <openssl/evp.h> | 40 | #include <openssl/evp.h> |
41 | 41 | ||
@@ -201,7 +201,7 @@ update_card(AuthenticationConnection *ac, int add, const char *id) | |||
201 | if (pin == NULL) | 201 | if (pin == NULL) |
202 | return -1; | 202 | return -1; |
203 | 203 | ||
204 | if (ssh_update_card(ac, add, id, pin)) { | 204 | if (ssh_update_card(ac, add, id, pin, lifetime, confirm)) { |
205 | fprintf(stderr, "Card %s: %s\n", | 205 | fprintf(stderr, "Card %s: %s\n", |
206 | add ? "added" : "removed", id); | 206 | add ? "added" : "removed", id); |
207 | ret = 0; | 207 | ret = 0; |