Message ID | 20221112011929.785388-2-andrew.zaborowski@intel.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/3] storage: Maintain the tls session cache object | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-ci-gitlint | success | GitLint |
diff --git a/tools/iwd-decrypt-profile.c b/tools/iwd-decrypt-profile.c index e71b56b4..06a9f97b 100644 --- a/tools/iwd-decrypt-profile.c +++ b/tools/iwd-decrypt-profile.c @@ -90,7 +90,7 @@ static bool secret_from_file(const char *file) if (data == MAP_FAILED) return false; - r = storage_init(data, st.st_size); + r = storage_key_init(data, st.st_size); munmap(data, st.st_size); @@ -168,7 +168,7 @@ int main(int argc, char *argv[]) } if (pass) { - if (!storage_init((const uint8_t *)pass, strlen(pass))) + if (!storage_key_init((const uint8_t *)pass, strlen(pass))) goto failed; } else if (!secret_from_file(file)) goto failed;