summaryrefslogtreecommitdiffstats
path: root/src/keystore-blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/keystore-blob.c')
-rw-r--r--src/keystore-blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keystore-blob.c b/src/keystore-blob.c
index 028dd8b..4572431 100644
--- a/src/keystore-blob.c
+++ b/src/keystore-blob.c
@@ -30,7 +30,7 @@ int keystore_get_secret(const char *name, const unsigned char **key, int *key_le
if (!state) {
struct state *tmp;
- tmp = state_get(keystore_state_name, true, false);
+ tmp = state_get(keystore_state_name, NULL, true, false);
if (IS_ERR(tmp))
return PTR_ERR(tmp);
state = tmp;