summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-add.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2003-06-11 11:18:38 +0000
committerdjm <djm@openbsd.org>2003-06-11 11:18:38 +0000
commit006fce9f9e86b4e4ffe68fefeb7ec5c486e58c4e (patch)
tree3a597c929f54e9f338e57def477b8112c5e2e1db /usr.bin/ssh/ssh-add.c
parentsync man page with sys/socket.h; (diff)
downloadwireguard-openbsd-006fce9f9e86b4e4ffe68fefeb7ec5c486e58c4e.tar.xz
wireguard-openbsd-006fce9f9e86b4e4ffe68fefeb7ec5c486e58c4e.zip
make agent constraints (lifetime, confirm) work with smartcard keys; ok markus@
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-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 08c545ab8c6..7e4f1156614 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.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>
@@ -195,7 +195,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;