Fixed bug IOT-798
authorShilpa Sodani <shilpa.a.sodani@intel.com>
Wed, 14 Oct 2015 20:37:21 +0000 (13:37 -0700)
committerSachin Agrawal <sachin.agrawal@intel.com>
Mon, 19 Oct 2015 17:46:16 +0000 (17:46 +0000)
commit18a2ace5c4d2453607056496c31230931bbf4b63
treeae8c81b1c3b799b8b456fd519dcb81b5b34974aa
parent3892392daf1b56e9ff9983a91c97f956a8b41eba
Fixed bug IOT-798

IsRequestWithinValidTime in iotvticalendar.c was only checking for the
valid date when recurrence was NULL. Update the IsRequestWithinValidTime
function to check for both valid date and time.

Change-Id: Ifec7520f07958fd7ded36c017c0b08acd3053ff0
Signed-off-by: Shilpa Sodani <shilpa.a.sodani@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3881
Reviewed-by: Mark Tung <mark.y.tung@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
resource/csdk/security/src/iotvticalendar.c