From 32cd4be4c34879f2c27ed35621491413c8cf6183 Mon Sep 17 00:00:00 2001 From: Kevin Kane Date: Fri, 7 Apr 2017 10:59:39 -0700 Subject: [PATCH] Fix build break from bad merge Change-Id: I37004fce7b941bf7ecd37e77defa481974c0bac4 Signed-off-by: Kevin Kane Reviewed-on: https://gerrit.iotivity.org/gerrit/18615 Reviewed-by: Alex Kelley Reviewed-by: Greg Zaverucha Tested-by: Greg Zaverucha --- .../provisioning/sample/autoprovisioningclient.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/resource/csdk/security/provisioning/sample/autoprovisioningclient.c b/resource/csdk/security/provisioning/sample/autoprovisioningclient.c index 324411a..30fb5fd 100644 --- a/resource/csdk/security/provisioning/sample/autoprovisioningclient.c +++ b/resource/csdk/security/provisioning/sample/autoprovisioningclient.c @@ -1520,27 +1520,6 @@ static int testSymmetricRoleUse(int dev_num) goto exit; } - /* Create and provision an ACL to allow anyone access to the roles resource. Since all actions - * on the roles resource first requires authentication by public key, this is effectively "any - * authenticated" access. - * @todo: This should be done by default and not be necessary here (IOT-1950). - */ - OCDeleteACLList(acl); - acl = NULL; - ret = createRolesAcl(&acl); - if (ret != 0) - { - OIC_LOG_V(ERROR, TAG, "%s failed to create roles ACL", __func__); - goto exit; - } - - ret = provisionAcl(dev_num, acl); - if (ret != 0) - { - OIC_LOG_V(ERROR, TAG, "%s failed to provision roles ACL", __func__); - goto exit; - } - /* Remove the owner credential so that we don't use it when asserting role certs. */ OCStackResult res = OCRemoveCredential(&g_uuidDev1); if (res != OC_STACK_RESOURCE_DELETED) -- 2.7.4