On 08/21/2018 02:50 AM, yitzc...@coapp.co.il wrote: > Another issue that I found is when I run a OCF server more than once, the > function "OCSaveTrustCertChain" used to register a certificate will just > continue to a dd the certificate to the secure db, causing the file to grow, > and worse, causing resource discovery on an ocf server to stop working.
the examples are toys, so to this isn't really a surprise: the "secure resource" is just an (insecure) file which it wouldn't be on a real device. I believe the expectation is you'll throw it away and start over frequently as you test things. Still, if the stack itself is doing something inappropriate, we should get a bug written up. Maybe the examples could have a little script that resets the dat files to their initial state as part of starting up an example? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9883): https://lists.iotivity.org/g/iotivity-dev/message/9883 Mute This Topic: https://lists.iotivity.org/mt/24874400/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-