summaryrefslogtreecommitdiff
path: root/p11-kit
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit')
-rw-r--r--p11-kit/modules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/p11-kit/modules.c b/p11-kit/modules.c
index fc456ce..5cdc8b2 100644
--- a/p11-kit/modules.c
+++ b/p11-kit/modules.c
@@ -2688,7 +2688,7 @@ p11_kit_load_initialize_module (const char *module_path,
}
}
- if (rv == CKR_OK && module) {
+ if (rv == CKR_OK) {
*module = unmanaged_for_module_inlock (mod);
assert (*module != NULL);
}