diff options
author | Damien Miller <djm@mindrot.org> | 2003-06-18 20:28:40 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-06-18 20:28:40 +1000 |
commit | 56a0bb07c47285fe78268c95650032ab0ea667cd (patch) | |
tree | 093fae55e5f9358686e02bdbcbe6781a8691baf2 /scard.c | |
parent | b2cdcb50a2900953035234bf94f7b586fd9dd429 (diff) |
- markus@cvs.openbsd.org 2003/06/12 19:12:03
[scard.c scard.h ssh-agent.c ssh.c]
add sc_get_key_label; larsch at trustcenter.de; bugzilla#591
Diffstat (limited to 'scard.c')
-rw-r--r-- | scard.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -24,7 +24,7 @@ #include "includes.h" #if defined(SMARTCARD) && defined(USE_SECTOK) -RCSID("$OpenBSD: scard.c,v 1.27 2003/04/08 20:21:29 itojun Exp $"); +RCSID("$OpenBSD: scard.c,v 1.28 2003/06/12 19:12:02 markus Exp $"); #include <openssl/evp.h> #include <sectok.h> @@ -554,4 +554,11 @@ done: sectok_close(fd); return (status); } + +char * +sc_get_key_label(Key *key) +{ + return xstrdup("smartcard key"); +} + #endif /* SMARTCARD && USE_SECTOK */ |