bug fix: update pack file data

Merged Vivek Naik requested to merge vk_fix_update_packfile into devbranch

now length check is on encrypted data if encryption is on

Merge request reports