summaryrefslogtreecommitdiff
path: root/scard.c
diff options
context:
space:
mode:
Diffstat (limited to 'scard.c')
-rw-r--r--scard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scard.c b/scard.c
index f67f7e7ef..251e5d30a 100644
--- a/scard.c
+++ b/scard.c
@@ -24,7 +24,7 @@
24 24
25#include "includes.h" 25#include "includes.h"
26#ifdef SMARTCARD 26#ifdef SMARTCARD
27RCSID("$OpenBSD: scard.c,v 1.14 2001/09/17 20:22:14 markus Exp $"); 27RCSID("$OpenBSD: scard.c,v 1.15 2001/09/28 09:49:31 djm Exp $");
28 28
29#include <openssl/engine.h> 29#include <openssl/engine.h>
30#include <sectok.h> 30#include <sectok.h>
@@ -123,6 +123,7 @@ sc_read_pubkey(Key * k)
123 int len, sw, status = -1; 123 int len, sw, status = -1;
124 124
125 len = sw = 0; 125 len = sw = 0;
126 n = NULL;
126 127
127 if (sc_fd < 0) { 128 if (sc_fd < 0) {
128 status = sc_init(); 129 status = sc_init();