Fixed encryption fail if file size is zero.
authorSoyoung Kim <sy037.kim@samsung.com>
Thu, 9 May 2013 05:24:34 +0000 (14:24 +0900)
committerSoyoung Kim <sy037.kim@samsung.com>
Thu, 9 May 2013 05:28:30 +0000 (14:28 +0900)
commite6ed37ec6ddca1c35e04e540d2e737be5e494240
tree595ea02af0d1c878b51fe91948d480b90885271f
parent97d836bce79406c353290690b2ce128bf330304c
Fixed encryption fail if file size is zero.

[Issue#] N/A
[Problem] web app installation failed when encryption setting is enable.
[Cause] try encryption at file size is zero.
[Solution] if file size is zero, skip encryption.
[SCMRequest] N/A

Change-Id: Icef14aac576d755f3d8b3afda5ed3b9e2aa398a8
src/jobs/widget_install/task_encrypt_resource.cpp