summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
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 7c57ca790..ae2e85480 100644
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
39 */ 39 */
40 40
41#include "includes.h" 41#include "includes.h"
42RCSID("$OpenBSD: ssh.c,v 1.165 2002/03/19 10:49:35 markus Exp $"); 42RCSID("$OpenBSD: ssh.c,v 1.166 2002/03/21 22:44:05 rees Exp $");
43 43
44#include <openssl/evp.h> 44#include <openssl/evp.h>
45#include <openssl/err.h> 45#include <openssl/err.h>
@@ -1193,7 +1193,7 @@ load_public_identity_files(void)
1193#ifdef SMARTCARD 1193#ifdef SMARTCARD
1194 if (options.smartcard_device != NULL && 1194 if (options.smartcard_device != NULL &&
1195 options.num_identity_files + 1 < SSH_MAX_IDENTITY_FILES && 1195 options.num_identity_files + 1 < SSH_MAX_IDENTITY_FILES &&
1196 (public = sc_get_key(options.smartcard_device)) != NULL ) { 1196 (public = sc_get_key(options.smartcard_device, NULL)) != NULL ) {
1197 Key *new; 1197 Key *new;
1198 1198
1199 if (options.num_identity_files + 2 > SSH_MAX_IDENTITY_FILES) 1199 if (options.num_identity_files + 2 > SSH_MAX_IDENTITY_FILES)