Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iotivity-lite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
41
Issues
41
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
IoTivity
iotivity-lite
Commits
f3ee5c78
Commit
f3ee5c78
authored
Apr 26, 2020
by
Kishen Maloor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oc_cloud_apis:if connected, don't set tls:ciphers
Signed-off-by:
Kishen Maloor
<
kishen.maloor@intel.com
>
parent
921371e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
api/cloud/oc_cloud_apis.c
api/cloud/oc_cloud_apis.c
+12
-4
No files found.
api/cloud/oc_cloud_apis.c
View file @
f3ee5c78
...
...
@@ -361,7 +361,9 @@ cloud_access_register(oc_endpoint_t *endpoint, const char *auth_provider,
}
#ifdef OC_SECURITY
oc_tls_select_cloud_ciphersuite
();
if
(
!
oc_tls_connected
(
endpoint
))
{
oc_tls_select_cloud_ciphersuite
();
}
#endif
/* OC_SECURITY */
if
(
oc_init_post
(
OC_RSRVD_ACCOUNT_URI
,
endpoint
,
NULL
,
handler
,
LOW_QOS
,
...
...
@@ -415,7 +417,9 @@ cloud_access_deregister(oc_endpoint_t *endpoint, const char *uid,
oc_concat_strings
(
&
d
,
oc_string
(
at
),
oc_string
(
u_id
));
#ifdef OC_SECURITY
oc_tls_select_cloud_ciphersuite
();
if
(
!
oc_tls_connected
(
endpoint
))
{
oc_tls_select_cloud_ciphersuite
();
}
#endif
/* OC_SECURITY */
bool
s
=
oc_do_delete
(
OC_RSRVD_ACCOUNT_URI
,
endpoint
,
oc_string
(
d
),
handler
,
...
...
@@ -444,7 +448,9 @@ cloud_access_login_out(oc_endpoint_t *endpoint, const char *uid,
}
#ifdef OC_SECURITY
oc_tls_select_cloud_ciphersuite
();
if
(
!
oc_tls_connected
(
endpoint
))
{
oc_tls_select_cloud_ciphersuite
();
}
#endif
/* OC_SECURITY */
if
(
oc_init_post
(
OC_RSRVD_ACCOUNT_SESSION_URI
,
endpoint
,
NULL
,
handler
,
...
...
@@ -503,7 +509,9 @@ cloud_access_refresh_access_token(oc_endpoint_t *endpoint, const char *uid,
}
#ifdef OC_SECURITY
oc_tls_select_cloud_ciphersuite
();
if
(
!
oc_tls_connected
(
endpoint
))
{
oc_tls_select_cloud_ciphersuite
();
}
#endif
/* OC_SECURITY */
if
(
oc_init_post
(
OC_RSRVD_ACCOUNT_TOKEN_REFRESH_URI
,
endpoint
,
NULL
,
handler
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment