summaryrefslogtreecommitdiffstats
path: root/scard.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-04-05 18:11:45 +0200
committerBen Lindstrom <mouring@eviladmin.org>2002-04-05 18:11:45 +0200
commita42694fa25683488b4dc44abc9dc8bb55414c99f (patch)
treeb642a80c3e482ed6a792d4f540719fd6af743212 /scard.c
parent - markus@cvs.openbsd.org 2002/04/03 09:26:11 (diff)
downloadopenssh-a42694fa25683488b4dc44abc9dc8bb55414c99f.tar.xz
openssh-a42694fa25683488b4dc44abc9dc8bb55414c99f.zip
- (bal) Patch for OpenSC SmartCard library; ok markus@; patch by
Juha Yrjölä <jyrjola@cc.hut.fi> - (bal) Minor documentation update to reflect smartcard library support changes.
Diffstat (limited to 'scard.c')
-rw-r--r--scard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scard.c b/scard.c
index de53f9d01..db0cc4a80 100644
--- a/scard.c
+++ b/scard.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-#ifdef SMARTCARD
+#if defined(SMARTCARD) && defined(USE_SECTOK)
RCSID("$OpenBSD: scard.c,v 1.25 2002/03/26 18:46:59 rees Exp $");
#include <openssl/evp.h>
@@ -554,4 +554,4 @@ done:
sectok_close(fd);
return (status);
}
-#endif /* SMARTCARD */
+#endif /* SMARTCARD && USE_SECTOK */