summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosef Larsson <josla972@student.liu.se>2014-10-08 18:49:03 (GMT)
committerJosef Larsson <josla972@student.liu.se>2014-10-08 18:49:03 (GMT)
commit901774a331aac960def4a3f2b4d64e9dd42a6292 (patch)
tree49b86237238731a0349b1e521d60e5540ff13b66
parent5cac430d8f9e9a5e6bc39577060e1bb41c2495b5 (diff)
downloadfribid-901774a331aac960def4a3f2b4d64e9dd42a6292.zip
fribid-901774a331aac960def4a3f2b4d64e9dd42a6292.tar.gz
fribid-901774a331aac960def4a3f2b4d64e9dd42a6292.tar.bz2
Fix compilation error
-rw-r--r--client/prefs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/prefs.c b/client/prefs.c
index 7bf0101..15a8745 100644
--- a/client/prefs.c
+++ b/client/prefs.c
@@ -40,7 +40,9 @@ void prefs_load(void) {
PlatformConfig *cfg = platform_openConfig("fribid", "config");
/* Set defaults */
+#if ENABLE_PKCS11
prefs_pkcs11_module = DEFAULT_PKCS11_MODULE;
+#endif
prefs_bankid_emulatedversion = NULL;
prefs_debug_dump = false;