summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-06-18 20:28:40 +1000
committerDamien Miller <djm@mindrot.org>2003-06-18 20:28:40 +1000
commit56a0bb07c47285fe78268c95650032ab0ea667cd (patch)
tree093fae55e5f9358686e02bdbcbe6781a8691baf2 /ssh.c
parentb2cdcb50a2900953035234bf94f7b586fd9dd429 (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 'ssh.c')
-rw-r--r--ssh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh.c b/ssh.c
index 480bd85e6..0142e7fad 100644
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: ssh.c,v 1.193 2003/05/15 13:52:10 djm Exp $"); 43RCSID("$OpenBSD: ssh.c,v 1.194 2003/06/12 19:12:03 markus Exp $");
44 44
45#include <openssl/evp.h> 45#include <openssl/evp.h>
46#include <openssl/err.h> 46#include <openssl/err.h>
@@ -1180,7 +1180,7 @@ load_public_identity_files(void)
1180 sizeof(Key *) * (SSH_MAX_IDENTITY_FILES - 1)); 1180 sizeof(Key *) * (SSH_MAX_IDENTITY_FILES - 1));
1181 options.num_identity_files++; 1181 options.num_identity_files++;
1182 options.identity_keys[0] = keys[i]; 1182 options.identity_keys[0] = keys[i];
1183 options.identity_files[0] = xstrdup("smartcard key");; 1183 options.identity_files[0] = sc_get_key_label(keys[i]);
1184 } 1184 }
1185 if (options.num_identity_files > SSH_MAX_IDENTITY_FILES) 1185 if (options.num_identity_files > SSH_MAX_IDENTITY_FILES)
1186 options.num_identity_files = SSH_MAX_IDENTITY_FILES; 1186 options.num_identity_files = SSH_MAX_IDENTITY_FILES;