summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-06-12 19:12:02 +0000
committermarkus <markus@openbsd.org>2003-06-12 19:12:02 +0000
commit1c18b24fc05d759eb3a952ed4c03f28b9383828c (patch)
treeacd80cb539b457eb11935b71c33b25bca618a504 /usr.bin/ssh/ssh.c
parentDon't complain about usernames that end in '$' which may be needed by (diff)
downloadwireguard-openbsd-1c18b24fc05d759eb3a952ed4c03f28b9383828c.tar.xz
wireguard-openbsd-1c18b24fc05d759eb3a952ed4c03f28b9383828c.zip
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.c4
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;