=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/authfd.c,v retrieving revision 1.39.2.2 retrieving revision 1.39.2.3 diff -u -r1.39.2.2 -r1.39.2.3 --- src/usr.bin/ssh/authfd.c 2002/03/09 00:20:44 1.39.2.2 +++ src/usr.bin/ssh/authfd.c 2002/06/02 22:56:09 1.39.2.3 @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: authfd.c,v 1.39.2.2 2002/03/09 00:20:44 miod Exp $"); +RCSID("$OpenBSD: authfd.c,v 1.39.2.3 2002/06/02 22:56:09 miod Exp $"); #include @@ -532,7 +532,7 @@ } int -ssh_update_card(AuthenticationConnection *auth, int add, const char *reader_id) +ssh_update_card(AuthenticationConnection *auth, int add, const char *reader_id, const char *pin) { Buffer msg; int type; @@ -541,6 +541,7 @@ buffer_put_char(&msg, add ? SSH_AGENTC_ADD_SMARTCARD_KEY : SSH_AGENTC_REMOVE_SMARTCARD_KEY); buffer_put_cstring(&msg, reader_id); + buffer_put_cstring(&msg, pin); if (ssh_request_reply(auth, &msg, &msg) == 0) { buffer_free(&msg); return 0;