diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-06-12 19:12:04 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-06-12 19:12:04 +0000 |
commit | ba840008d144e1f4a53480ea8dab0b6783cb71ea (patch) | |
tree | cd0a94b16f5927311a1fbbb758dc38c0d88354a8 /usr.bin/ssh/ssh.c | |
parent | 80b00b8004cadf740557a1f34341c3621c4d862f (diff) |
add sc_get_key_label; larsch at trustcenter.de; bugzilla#591
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 9b0b5510c65..6ecedc8b790 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh.c,v 1.193 2003/05/15 13:52:10 djm Exp $"); +RCSID("$OpenBSD: ssh.c,v 1.194 2003/06/12 19:12:03 markus Exp $"); #include <openssl/evp.h> #include <openssl/err.h> @@ -1160,7 +1160,7 @@ load_public_identity_files(void) sizeof(Key *) * (SSH_MAX_IDENTITY_FILES - 1)); options.num_identity_files++; options.identity_keys[0] = keys[i]; - options.identity_files[0] = xstrdup("smartcard key");; + options.identity_files[0] = sc_get_key_label(keys[i]); } if (options.num_identity_files > SSH_MAX_IDENTITY_FILES) options.num_identity_files = SSH_MAX_IDENTITY_FILES; |