summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/p11-kit-config.xml4
-rw-r--r--p11-kit/conf.c2
-rw-r--r--p11-kit/pkcs11.conf.example.in4
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/p11-kit-config.xml b/doc/p11-kit-config.xml
index a10cb7e..b6fb480 100644
--- a/doc/p11-kit-config.xml
+++ b/doc/p11-kit-config.xml
@@ -32,8 +32,8 @@
<programlisting>
# This setting controls whether to load user configuration from the
# ~/.pkcs11 directory. Possible values:
-# none: No user configuration (default)
-# merge: Merge the user configuration over the system configuration
+# none: No user configuration
+# merge: Merge the user config over the system configuration (default)
# only: Only user configuration, ignore system configuration
user-config: merge
</programlisting>
diff --git a/p11-kit/conf.c b/p11-kit/conf.c
index db730a7..42611f8 100644
--- a/p11-kit/conf.c
+++ b/p11-kit/conf.c
@@ -401,7 +401,7 @@ _p11_conf_load_globals (const char *system_conf, const char *user_conf,
goto finished;
/* Whether we should use or override from user directory */
- mode = user_config_mode (config, CONF_USER_NONE);
+ mode = user_config_mode (config, CONF_USER_MERGE);
if (mode == CONF_USER_INVALID) {
error = EINVAL;
goto finished;
diff --git a/p11-kit/pkcs11.conf.example.in b/p11-kit/pkcs11.conf.example.in
index ec01b14..a148000 100644
--- a/p11-kit/pkcs11.conf.example.in
+++ b/p11-kit/pkcs11.conf.example.in
@@ -3,7 +3,7 @@
# This setting controls whether to load user configuration from the
# ~/.pkcs11 directory. Possible values:
-# none: No user configuration (default)
-# merge: Merge the user configuration over the system configuration
+# none: No user configuration
+# merge: Merge the user config over the system configuration (default)
# only: Only user configuration, ignore system configuration
user-config: merge