diff options
author | djm <djm> | 2003-06-11 12:06:33 +0000 |
---|---|---|
committer | djm <djm> | 2003-06-11 12:06:33 +0000 |
commit | 1062008eafce231f54bb26f4c20b9c093267baf4 (patch) | |
tree | 158d93413a15d637bf688e79bfa4885bcec411ff /ssh-add.c | |
parent | 41ecb672d94c52328915bd02bdf6e66e672b86e6 (diff) | |
download | openssh-1062008eafce231f54bb26f4c20b9c093267baf4.tar.gz |
- 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 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.66 2003/03/05 22:33:43 markus Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.67 2003/06/11 11:18:38 djm Exp $"); #include <openssl/evp.h> @@ -201,7 +201,7 @@ update_card(AuthenticationConnection *ac, int add, const char *id) if (pin == NULL) return -1; - if (ssh_update_card(ac, add, id, pin)) { + if (ssh_update_card(ac, add, id, pin, lifetime, confirm)) { fprintf(stderr, "Card %s: %s\n", add ? "added" : "removed", id); ret = 0; |