Commit 40b6bca8 authored by Dan Mihai's avatar Dan Mihai Committed by Nathan Heldt-Sheller

[IOT-2236] Allow POST to /oic/sec/acl

Restore the old behavior of starting parsing the payload with
ehRet == OC_EH_OK. This behavior has been modified incorrectly
by recent change 170dceb6.

Change-Id: I13e5aa1e5f3a840668182d36ffb58d309cd8c1ad
Signed-off-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19819Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarKevin Kane <kkane@microsoft.com>
Reviewed-by: Nathan Heldt-Sheller's avatarNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
parent e0ec889e
...@@ -2126,6 +2126,8 @@ static OCEntityHandlerResult HandleACLPostRequest(const OCEntityHandlerRequest * ...@@ -2126,6 +2126,8 @@ static OCEntityHandlerResult HandleACLPostRequest(const OCEntityHandlerRequest *
goto exit; goto exit;
} }
ehRet = OC_EH_OK;
if (payload) if (payload)
{ {
OicSecAcl_t *newAcl = NULL; OicSecAcl_t *newAcl = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment