aboutsummaryrefslogtreecommitdiffstats
path: root/scd/card-p15.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/card-p15.c')
-rw-r--r--scd/card-p15.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scd/card-p15.c b/scd/card-p15.c
index 25502a610..7fa2d8fe8 100644
--- a/scd/card-p15.c
+++ b/scd/card-p15.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <time.h>
+#ifdef HAVE_OPENSC
#include <opensc/pkcs15.h>
#include <ksba.h>
@@ -496,3 +497,4 @@ card_p15_bind (CARD card)
card->fnc.sign = p15_sign;
card->fnc.decipher = p15_decipher;
}
+#endif /*HAVE_OPENSC*/