Skip to content

Commit

Permalink
Merge pull request #363 from cruise2018/iot_link
Browse files Browse the repository at this point in the history
modify:oc mqtt:permit the user use the default CA inside
  • Loading branch information
cruise2018 authored May 15, 2020
2 parents f4a98e0 + 6bdc3d2 commit 7eca489
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions iot_link/oc/oc_mqtt/oc_mqtt_tiny_v5/oc_mqtt_tiny.c
Original file line number Diff line number Diff line change
Expand Up @@ -1234,10 +1234,6 @@ static int tiny_config(oc_mqtt_config_t *config)

if(config->security.type == EN_DTLS_AL_SECURITY_TYPE_CERT)
{
if(NULL == config->security.u.cert.server_ca) ///< should config the server ca
{
return ret;
}
if((NULL != config->security.u.cert.client_ca) && (NULL != config->security.u.cert.client_pk))
{
cert_mode = 1;
Expand Down

0 comments on commit 7eca489

Please sign in to comment.