Use the new ziparchive Next std::string_view overload.
Bug: http://b/129068177 Test: treehugger Change-Id: Ieec83126e36b330da33092a172e365376cd04dfe
This commit is contained in:
@@ -320,7 +320,7 @@ static std::vector<Certificate> IterateZipEntriesAndSearchForKeys(const ZipArchi
|
||||
|
||||
std::vector<Certificate> result;
|
||||
|
||||
std::string name;
|
||||
std::string_view name;
|
||||
ZipEntry entry;
|
||||
while ((iter_status = Next(cookie, &entry, &name)) == 0) {
|
||||
std::vector<uint8_t> pem_content(entry.uncompressed_length);
|
||||
|
||||
Reference in New Issue
Block a user