diff options
Diffstat (limited to 'install/verifier.cpp')
-rw-r--r-- | install/verifier.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/install/verifier.cpp b/install/verifier.cpp index 6ba1d77c3..3de58e4bb 100644 --- a/install/verifier.cpp +++ b/install/verifier.cpp @@ -311,8 +311,7 @@ int verify_file(VerifierInterface* package, const std::vector<Certificate>& keys static std::vector<Certificate> IterateZipEntriesAndSearchForKeys(const ZipArchiveHandle& handle) { void* cookie; - ZipString suffix("x509.pem"); - int32_t iter_status = StartIteration(handle, &cookie, nullptr, &suffix); + int32_t iter_status = StartIteration(handle, &cookie, "", "x509.pem"); if (iter_status != 0) { LOG(ERROR) << "Failed to iterate over entries in the certificate zipfile: " << ErrorCodeString(iter_status); |