Add message length validation check code in case of wrong key
[Patch #1] Intial upload
[Patch #2] Modify according to comments.
[Patch #3] Retrigger
[Patch #4] Retrigger again!
Change-Id: I90e38f950aa07dafd058cf88591ef8f5af5ca367
Signed-off-by: leechul <chuls.lee@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/4189
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
(cherry picked from commit
5f06807f268ed4600b4df82a182362ec5437eeac)
Reviewed-on: https://gerrit.iotivity.org/gerrit/4361
Reviewed-by: dongik Lee <dongik.lee@samsung.com>