Skip to content

Commit a1c3493

Browse files
authored
Update EncryptManager.cpp
1 parent 9f19b07 commit a1c3493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frameworks/runtime-src/Classes/EncryptManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class FileUtilsEncrypt : public FileUtilsImpl
159159
cryptk::aes::privacy::mode_spec<>::decrypt(data, *size, data, outsize, encryptManager._encryptKey.c_str(), AES_DEFAULT_KEY_BITS, encryptManager._encryptIvec.c_str());
160160

161161
if (info.compressed) {
162-
auto uncomprData = cryptk::zlib_inflate<cryptk::streambuf>(cxx17::string_view((const char*)data, outsize), info.original_size);
162+
auto uncomprData = cryptk::zlib_inflate<yasio::byte_buffer>(cxx17::string_view((const char*)data, outsize), info.original_size);
163163

164164
free(data);
165165
data = (unsigned char*)(uncomprData.detach(*size));

0 commit comments

Comments
 (0)