1. 29 Sep, 2017 1 commit
  2. 28 Sep, 2017 5 commits
  3. 27 Sep, 2017 10 commits
  4. 26 Sep, 2017 3 commits
  5. 25 Sep, 2017 1 commit
    • Alex Kelley's avatar
      [IOT-2729] Update role resource and certhelpers · fcf88a2f
      Alex Kelley authored
      1. Update OCInternalVerifyRoleCertificate to add the issuer as the
         authority if the role certificate IoTivity received does not
         contain an authority in the subject alternative name.
      2. Update GetEndpointRoles to check for OC_STACK_NO_RESOURCE and
         OC_STACK_INVALID_PARAM so it can fall back to symmetric key role
         handling when the connection is not secured with a certificate.
      
      Change-Id: Ieba2bfbbf5edfb32d74c24b5f668a8ee9d530354
      Signed-off-by: default avatarAlex Kelley <alexke@microsoft.com>
      fcf88a2f
  6. 24 Sep, 2017 2 commits
  7. 22 Sep, 2017 6 commits
  8. 21 Sep, 2017 7 commits
  9. 20 Sep, 2017 2 commits
  10. 19 Sep, 2017 3 commits
    • Alex Kelley's avatar
      [IOT-2718] Update Roles resource · b020cb82
      Alex Kelley authored
      1. Update RolesToCBORPayload to handle large role certificate chains
      that require allocating more memory.
      2. Update GetEndpointRoles to fix AV when adding multiples roles to the
      list of roles to return.
      
      Change-Id: I08de68eb0b2757bd17eb9ffe4e304ee378165266
      Signed-off-by: default avatarAlex Kelley <alexke@microsoft.com>
      b020cb82
    • Nathan Heldt-Sheller's avatar
      [IOT-2617] Enable Anon Ciphersuite after RESET · 383bfdaa
      Nathan Heldt-Sheller authored
      The Anon Ciphersuite should be enabled after RESET if the Device
      by default has the oxmsel == JUSTWORKS, so that a Client isn't
      required to re-select the JUSTWORKS OTM in order to enable the
      suite.
      
      Change-Id: I6ab06b958959b1cad5e04f0bc63e90c8c4202785
      Signed-off-by: Nathan Heldt-Sheller's avatarNathan Heldt-Sheller <nathan.heldt-sheller@intel.com>
      383bfdaa
    • George Nash's avatar
      provisioning: Fixed memory leak · dab3e302
      George Nash authored
      Fixed memory leak found using valgrind. The memory
      leak was due to the provisionInit function calling
      sqlite3_open_v2 without calling sqlite3_close
      
      There was not provisionClose method in the C++ so it was
      added to the OCSecure class. To do this OCClosePM was
      also added to that the code could be used in Windows.
      
      The provisioningClose call was added to all of the samples
      that are currently calling provisioningInit(dbfile)
      
      While updating the some of the android samples the
      tab depth was cleaned.
      
      Note the unit tests are not following one of the most
      basic rules of unit testing. Tests should be isolated
      and independent. When the cleanup code was added to the
      unit tests it broke tests that run later. Each individual
      unit test should be able to run independent of all the
      other unit tests order should not matter. This commit
      does a little to break the dependency tests have on other
      tests, but it did not fix it completely. Many tests rely
      on the DB being left in a state by another test as well as
      passing test state to global variables that hold information
      outside the individual test.
      
      Change-Id: Id2c05ecc611516a5cf892ae70bb4e0cd0c115752
      Signed-off-by: George Nash's avatarGeorge Nash <george.nash@intel.com>
      dab3e302