summaryrefslogtreecommitdiff
path: root/scard.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-04-05 16:11:45 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-04-05 16:11:45 +0000
commita42694fa25683488b4dc44abc9dc8bb55414c99f (patch)
treeb642a80c3e482ed6a792d4f540719fd6af743212 /scard.c
parent8a725a843d51b4fe43e9653eea5442c368290fe2 (diff)
downloadopenssh-git-a42694fa25683488b4dc44abc9dc8bb55414c99f.tar.gz
- (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 de53f9d0..db0cc4a8 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 */