summaryrefslogtreecommitdiff
path: root/client/prefs.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/prefs.c')
-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;