Uploaded image for project: 'IoTivity'
  1. IoTivity
  2. IOT-693

Security not initialized in OC_CLIENT mode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: IoTivity Cleveland
    • Component/s: Security
    • Labels:
      None
    • Found in Version/s:
      2.0.0
    • Operating System:
      Ubuntu
    • Issue Severity:
      Normal
    • Reproducibility:
      Always (100%)

      Description

      When I call OCInit() with mode == OC_CLIENT security and DTLS does not get initialize and does not work, when using OC_CLIENT_SERVER or OC_SERVER it works.

      The problem is that OCInit1() calls initResources() only if (mode != OC_CLIENT), but that method also initializes the Security part by calling SRMInitSecureResources() later on.

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              nathanheldtsheller Nathan Heldt-Sheller
              Reporter:
              Hauke Hauke Mehrtens
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: