- 07 Apr, 2017 3 commits
-
-
Greg Zaverucha authored
GetCredEntryByCredId was using WITH_X509 instead of WITH_DTLS, causing a block of code to not be included in certain build configurations. Change-Id: I16c05f38c7d2e317a727d6480289151e30229d71 Signed-off-by:
Greg Zaverucha <gregz@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18581Reviewed-by:
Kevin Kane <kkane@microsoft.com> Reviewed-by:
Alex Kelley <alexke@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
-
Poovizhi authored
Unit test of notification service sometimes fails due to time delay. In this patch, network related procedure was separated in C++ layer of notification service. The changes are based on the C layer changes from the patch "https://gerrit.iotivity.org/gerrit/#/c/17397" Change-Id: Ib0c859f9052be2049135226cc6abd9f314875b09 Signed-off-by:
Poovizhi <poovizhi.a@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18197Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com>
-
Jihun Ha authored
The two APIs are added in EnrolleConf class so that provisioning status and last error code properties can be passed to application as a response of getConfiguration API call. Note that those APIs are already provided in EnrolleeStatus class which is a GET request with baseline interface. Change-Id: I46133a189fff5201df9526bf2ef6009834ab77ab Signed-off-by:
Jihun Ha <jihun.ha@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18445Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Heewon Park <h_w.park@samsung.com> Reviewed-by:
Uze Choi <uzchoi@samsung.com>
-
- 06 Apr, 2017 8 commits
-
-
George Nash authored
The string in contained in the MPMMessage passed to the onCallback funtion may not be null terminated. This is accounted for when creating the message_char variable but the message_char variable was not used when MPMAddDevice was called causing a non-terminated string to be passed to the to the plugin. Using the message_char variable with size+1 solved the missing null terminated string issue. Change-Id: If760cc77fba9fe46b191b3c5a7ec2abac9da63ac Signed-off-by:
George Nash <george.nash@intel.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18491Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Todd Malsbary <todd.malsbary@intel.com>
-
Pawel Winogrodzki authored
The code is updated to commit b0db7a6308f8948dd4a68f06b787cb425ce7254d from the main cJSON repo: https://github.com/DaveGamble/cJSON. Change-Id: I43b2bae1fa4fde5eee12f7d74990d5263f4ec51b Signed-off-by:
Pawel Winogrodzki <pawelwi@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18381Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by:
Dave Thaler <dthaler@microsoft.com>
-
Jihun Ha authored
A 'buflen' variable produced by coap_split_query has a meaning of remained buffer size after filling a set of coap query options to pBuf which has CA_MAX_URI_LENGTH(512) size. It means option data is filled upto pBuf + (CA_MAX_URI_LENGTH - buflen). Thus, accessing pBuf can reach to the above location. Change-Id: I1320531730800a57e78e4bc56552c51525903468 Signed-off-by:
Jihun Ha <jihun.ha@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18363Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Mats Wichmann authored
Fix sense of one test broken in first version. Change-Id: I0374d68320fd4591c8f3e8632322682b5c573f39 Signed-off-by:
Mats Wichmann <mats@linux.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/17839Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Soemin Tjong authored
This simplifies identifying the target elevator when there are multiple of them running. Also, remove hardcoded device ID in the configuration file so multiple servers don't conflict. Change-Id: I18b318c844e769529ae9f50e79ff85114a9f5b6d Signed-off-by:
Soemin Tjong <stjong@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18489Reviewed-by:
Way Vadhanasin <wayvad@microsoft.com> Reviewed-by:
Ibrahim Esmat <iesmat@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Alex Kelley <alexke@microsoft.com> Reviewed-by:
Dave Thaler <dthaler@microsoft.com> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Soemin Tjong authored
https://jira.iotivity.org/browse/IOT-1966 This allows the IoTivity stack to shut down gracefully after applications call IPCAClose(). Change-Id: Ie800577f157e4ce2a6b7086495501cda8fe133d4 Signed-off-by:
Soemin Tjong <stjong@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18379Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Jaewook Jung authored
Change-Id: Ie6b2ecd307e93e92f67340fe494076b3f0ae2778 Signed-off-by:
Jaewook Jung <jw0213.jung@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18427Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Pawel Winogrodzki authored
SimpleClientServer adds libcoap to its include paths, which is no longer needed. Change-Id: I613205e50d1b2f45ae51fa5eed9e036f6d6cc151 Signed-off-by:
Pawel Winogrodzki <pawelwi@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18411Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Alex Kelley <alexke@microsoft.com> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by:
Ashok Babu Channa <ashok.channa@samsung.com>
-
- 05 Apr, 2017 5 commits
-
-
Dan Mihai authored
Those functions are intended to be used internally, by security provisioning code. It was a mistake to export them in the previous IoTivity release. Change-Id: If624a73e6c00c04b027de0567b5c77ef7a017a25 Signed-off-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18419Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Kevin Kane <kkane@microsoft.com> Reviewed-by:
Greg Zaverucha <gregz@microsoft.com>
-
Pawel Winogrodzki authored
Removing all /W4 warnings from mbedtls and adding /WX to the mbedtls' SConscript to make sure no new ones get added. I'm adding a separate header for Windows builds, because they require a different set of macros to build correctly ("MBEDTLS_HAVE_WINSOCK2" has to be available). The config headers are not generated automatically for mbedTLS and a default version is just checked into the repo, so each separate configuration/platform build requires a separate header. Change-Id: I3b423fb2d0b978da5e9907e58df6b6818533ba22 Signed-off-by:
Pawel Winogrodzki <pawelwi@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18013Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by:
Dave Thaler <dthaler@microsoft.com> Reviewed-by:
Kevin Kane <kkane@microsoft.com>
-
Philippe Coval authored
It never was an external library while it was located there, the code is small enough to be part c_common utility library. No functionnal changes were introduced, just reformated source. Note, For Arduino, timer object is built using C++ compiler tricks, that could be removed once support is dropped. Bug: https://jira.iotivity.org/browse/IOT-1889 Change-Id: I776c5273315a7552495974f58a199a38073fb45e Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18009Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
jihwan.seo authored
Change-Id: Ie7a4b5268f445a4c9da50dd0acec9a9b8a8e06e1 Signed-off-by:
jihwan.seo <jihwan.seo@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18401Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Larry Sachs <larry.j.sachs@intel.com> Reviewed-by:
George Nash <george.nash@intel.com> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-by:
Rick Bell <richard.s.bell@intel.com>
-
Andrii Shtompel authored
Patchset #16731 changed callback API, and then some time it wasn't rebased. During that time CA API tests were updated, and old callback API were used. Gerrit showed no conflicts, Jenkins build were successful. It is required to rebase more frequently. I've fixed build error + fix compiler warnings in that file. Change-Id: I360f22cba5ec70075eff4f814f319678bbf099c8 Signed-off-by:
Andrii Shtompel <a.shtompel@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18481Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Kevin Kane <kkane@microsoft.com>
-
- 04 Apr, 2017 4 commits
-
-
Mats Wichmann authored
Purpose is to squish recently introduced warnings: resource/c_common/oic_platform/src/oic_platform.c: In function 'HashStrToUuid': resource/c_common/oic_platform/src/oic_platform.c:92:5: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] memcpy(platformUuid, hash, OIC_UUID_LENGTH); ^~~~~~ resource/c_common/oic_platform/src/oic_platform.c:92:5: warning: incompatible implicit declaration of built-in function 'memcpy' resource/c_common/oic_platform/src/oic_platform.c:92:5: note: include '<string.h>' or provide a declaration of 'memcpy' In file included from resource/c_common/oic_platform/src/oic_platform.c:57:0: resource/c_common/oic_platform/src/oic_platform.c: In function 'OICGetPlatformUuid': resource/c_common/oic_platform/src/oic_platform.c:119:67: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration] OIC_LOG_V(WARNING, TAG, "Failed gethostname() errno: %s", strerror(errno)); ^ resource/c_common/oic_platform/src/oic_platform.c:154:42: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (!HashStrToUuid(fqdnComputerName, strlen(fqdnComputerName), platformUuid)) ^~~~~~ resource/c_common/oic_platform/src/oic_platform.c:154:42: warning: incompatible implicit declaration of built-in function 'strlen' resource/c_common/oic_platform/src/oic_platform.c:154:42: note: include '<string.h>' or provide a declaration of 'strlen' Change-Id: Ic3755bd59fd80b68011352117c09c88d27b5e4fa Signed-off-by:
Mats Wichmann <mats@linux.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18351Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
George Nash <george.nash@intel.com> Reviewed-by:
Uze Choi <uzchoi@samsung.com> Reviewed-by:
Dave Thaler <dthaler@microsoft.com>
-
Mats Wichmann authored
The information just points to various resources, may be useful to others as well. Revised version to reflect review comments. Change-Id: I1ba4f2b017bf8b60a9c382260131d23c734001b2 Signed-off-by:
Mats Wichmann <mats@linux.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/17871Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dave Thaler <dthaler@microsoft.com>
-
KIM JungYong authored
As-Is, Notification unit test sometimes crash on running. Cause by, 1) When provider unit test running, it use invalid request information. this invalid request is not made by stack, made by inside unit test as uninitialized variables. 2) When consumer was destroyed, task queue was deinitilzed. but main task thread waitting for mutex unlocking, when mutex unlock, main thread does not update address of queue. actually, address of queue is modified, in this moment, main thread try to reference unmodified queue and crash. Fixed, 1) Uninitialized variables are initialized. 2) When main thread mutex was unlocked, updating queue. Exception handling what data of queue is invalid. Change-Id: I41cd4a100ea2bb7b3e68be3017475c9ecbfbb144 Signed-off-by:
KIM JungYong <jyong2.kim@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18047Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Uze Choi <uzchoi@samsung.com> Tested-by:
Uze Choi <uzchoi@samsung.com>
-
Andrii Shtompel authored
Checking identity added to avoid including PSK suite if no appropriate PSK in SVR DB. Change-Id: I118c4b5864929cc8fdd0597af855f3c06b9332dc Signed-off-by:
Dmitriy Zhuravlev <d.zhuravlev@samsung.com> Signed-off-by:
Andrii Shtompel <a.shtompel@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/16731Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Oleksii Beketov <ol.beketov@samsung.com> Reviewed-by:
Randeep Singh <randeep.s@samsung.com>
-
- 03 Apr, 2017 11 commits
-
-
Greg Zaverucha authored
-
Philippe Coval authored
Fedora mirror was used before, as fallback to googlecode repo. Then upstream relocated to github, and changed (its tarball form), so it was changed in iotivity's Sconscripts, but not in that prep.sh scriptlet. Now everything is aligned to upstream, and will not be downloaded twice in different forms (2d one is scons' puller). Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: I0778499e96121124df0da536623155d9b049bb2f Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18127Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Andrii Shtompel authored
Next warning generated by each call OIC_LOG/OIC_LOG_V were removed: warning: comparison of unsigned expression >= 0 is always true Change-Id: Ic2c4b8ba0e032255086a0ec6a0c3d3b4d643ae79 Signed-off-by:
Andrii Shtompel <a.shtompel@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18373Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Philippe Coval authored
git "module" was converted to patch this way: url=https://github.com/01org/tinycbor.git tag=v0.4.1 git clone -b $tag extlibs/tinycbor/tinycbor rm -rf extlibs/tinycbor/tinycbor/.git git add -f extlibs/tinycbor/tinycbor/ git commit -sm "tinycbor: Update import to $tag" extlibs/tinycbor/tinycbor/ Change-Id: I5365b1025b55091f371c4c7d8500b8e9b18f478c Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18345Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Philippe Coval authored
Change-Id: I5e5c3c288311fc97ee7ea4014228f9d80fef71d6 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18337Reviewed-by:
Dave Thaler <dthaler@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Philippe Coval authored
Change-Id: I13da089d0fe2b1fcedc2d4b0c8f3e82e07ff74d6 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18165Reviewed-by:
Dave Thaler <dthaler@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Soemin Tjong authored
This causes problem establishing all TCP connections to servers. Change-Id: Icaa4071a27a84b156d2eeea508b70a64a45a649d Signed-off-by:
Soemin Tjong <stjong@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18353Reviewed-by:
Kevin Kane <kkane@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Omar Maabreh <omarm@microsoft.com> Reviewed-by:
Alex Kelley <alexke@microsoft.com> Reviewed-by:
Way Vadhanasin <wayvad@microsoft.com> Reviewed-by:
Dave Thaler <dthaler@microsoft.com> Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by:
Mike Fenelon <mike.fenelon@microsoft.com>
-
Ziran Sun authored
Revert "Change default vaule of acceptVersion and acceptFormat.". This change has broke device discovery in provisioning (See IOT-1987) This reverts commit feba13f7. Change-Id: I64ff4508bb4583f70f5e6b3d88519b6ba8460e9d Signed-off-by:
Ziran Sun <ziran.sun@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18455Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Kevin Kane <kkane@microsoft.com>
-
veeraj.sk authored
Add missing null checks after calling OICMalloc and OICStrdup in bt_le_adapter/linux/client.c, caradapter.c and ocpayload.c. Change-Id: I57c82caa0dea117b19b548562fa27bad0b2f3ec6 Signed-off-by:
Veeraj Khokale <veeraj.sk@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18051Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by:
Ashok Babu Channa <ashok.channa@samsung.com>
-
Andrii Shtompel authored
Change-Id: I5d71be0f7f0fe2e499bd1940083db6cb84e0df75 Signed-off-by:
Andrii Shtompel <a.shtompel@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18349Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Greg Zaverucha <gregz@microsoft.com> Reviewed-by:
Oleksii Beketov <ol.beketov@samsung.com> Reviewed-by:
Randeep Singh <randeep.s@samsung.com>
-
Philippe Coval authored
Observed issue was: service/easy-setup/sampleapp/enrollee/linux/enrolleewifi.c:262:19: \ warning: initialization makes integer from pointer without a cast [enabled by default] char option = ""; Change-Id: Ib86e46094dee109a82cd483669480dbe97e8c570 Signed-off-by:
Philippe Coval <philippe.coval@osg.samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18329Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Alex Kelley <alexke@microsoft.com> Reviewed-by:
Heewon Park <h_w.park@samsung.com> Reviewed-by:
Jihun Ha <jihun.ha@samsung.com> Reviewed-by:
Uze Choi <uzchoi@samsung.com>
-
- 02 Apr, 2017 1 commit
-
-
Hauke Mehrtens authored
This makes it possible to compile IoTivity with custom compiler options. This way someone can use optimized compiler settings for the target CPU. I want to use this in OpenWrt / LEDE to build specific IoTivity binaries for each CPU architecture, there the build system provides the matching compiler options. Change-Id: I86772f73b81c41d7e96e51b434fd9e3b4992753a Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de> Reviewed-on: https://gerrit.iotivity.org/gerrit/15435Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by:
Mike Fenelon <mike.fenelon@microsoft.com> Reviewed-by:
Dave Thaler <dthaler@microsoft.com>
-
- 01 Apr, 2017 1 commit
-
-
Dan Mihai authored
Security sample apps used to need them, but not anymore. Change-Id: If196e429e2e70ab4f21039faf69774686bc98318 Signed-off-by:
Dan Mihai <Daniel.Mihai@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18417Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Phil Coval <philippe.coval@osg.samsung.com> Reviewed-by:
Dave Thaler <dthaler@microsoft.com>
-
- 31 Mar, 2017 7 commits
-
-
Kevin Kane authored
Change-Id: I9f8270ab9643dcf203b9fbcd20a37ee482659e16 Signed-off-by:
Kevin Kane <kkane@microsoft.com>
-
Kevin Kane authored
Conflicts: resource\csdk\security\include\internal\acl_logging.h resource\csdk\security\src\aclresource.c Change-Id: Ide5322ac5c02c82af08586c4dc2fb2ec80b1b301 Signed-off-by:
Kevin Kane <kkane@microsoft.com>
-
Kevin Kane authored
Encoding/decoding code that currently ignores the value of this field, but this will change when certificates and role features are merged in. Change-Id: Idf8d2b1ffd95d2e517e4da7c76ce767a57ce428d Signed-off-by:
Kevin Kane <kkane@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18407Reviewed-by:
Alex Kelley <alexke@microsoft.com> Reviewed-by:
Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org>
-
Pawel Winogrodzki authored
There is no need to have an additional dependency on boost for the sake of this sample. Change-Id: I4bc65730aebb62f5b3d0e9edc0ff9ff8ae16a7e2 Signed-off-by:
Pawel Winogrodzki <pawelwi@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18307Reviewed-by:
Alex Kelley <alexke@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Mike Fenelon <mike.fenelon@microsoft.com> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Jaewook Jung authored
Fixed memory leak detected by valgrind Change-Id: I96c4d0816ea5be4a90e20af59e64ea3aec454c27 Signed-off-by:
Jaewook Jung <jw0213.jung@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18227Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-
Greg Zaverucha authored
Add end-to-end testing of role certificate scenario: - provision role certs - test role-based ACLs provisioning and enforcement - test assertion of role certificates Fix bugs and add new functions as necessary. Added the ROLE_CERT usage to distinguish role certs (which can't be used for TLS) from identity certs. Previously they were both saved as PRIMARY_CERT. Some small changes to save and retrieve role certificates locally. Add functionality to assert roles (POST the certs to /oic/sec/roles). Change-Id: I9080e0ca6b0809608621eb8b23dd4bbbfbbb176c Signed-off-by:
Greg Zaverucha <gregz@microsoft.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18219Reviewed-by:
Alex Kelley <alexke@microsoft.com> Reviewed-by:
Dave Thaler <dthaler@microsoft.com> Reviewed-by:
Kevin Kane <kkane@microsoft.com> Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Nathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
-
YunheeHwang authored
Problem : Dynamic memory referenced by (*set)->actionsetName was allocated by calling malloc and lost without free before exit Resolve : add OCFREE((*set)->actionsetName) before OCFREE(*set) Problem : Dynamic memory referenced by payload was allocated by calling function 'OCRepPayloadCreate' and lost without free before exit Resolve : add OCRepPayloadDestroy(payload) to free them Change-Id: I2f8bbbd009c567cda8c091ffde925f1692416c9b Signed-off-by:
YunheeHwang <yunhee.hwang@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/18259Tested-by:
jenkins-iotivity <jenkins@iotivity.org> Reviewed-by:
Dan Mihai <Daniel.Mihai@microsoft.com>
-