mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
067807c1cb
PCK files (like other build products) should be deterministic based on their inputs. Removed calls to Math::rand() that are being used to generate padding. Looks like these were introduced as part of adding encryption support, but the padding being random does not have any cryptographic significance. This can be trivially inferred since file blocks that happen to be aligned don't get padding anyway. If there's a desire to indroduce something that functions as a nonce it should probably be added explicitly and only if encryption is enabled. remove Math::rand() calls in editor_export_platform.cpp follow up to make consistent with pck_packer |
||
---|---|---|
.. | ||
editor_export_platform_pc.cpp | ||
editor_export_platform_pc.h | ||
editor_export_platform.cpp | ||
editor_export_platform.h | ||
editor_export_plugin.cpp | ||
editor_export_plugin.h | ||
editor_export_preset.cpp | ||
editor_export_preset.h | ||
editor_export_shared_object.h | ||
editor_export.cpp | ||
editor_export.h | ||
export_template_manager.cpp | ||
export_template_manager.h | ||
project_export.cpp | ||
project_export.h | ||
SCsub |