Skip to content

Commit ccbf314

Browse files
plskeggsnordicjm
authored andcommitted
samples: cellular: nrf_cloud_rest_device_message: Update cred ck
Also check that the AWS root CA is likely present. Jira: IRIS-9151 Signed-off-by: Pete Skeggs <[email protected]>
1 parent 4621b6e commit ccbf314

File tree

1 file changed

+1
-1
lines changed
  • samples/cellular/nrf_cloud_rest_device_message/src

1 file changed

+1
-1
lines changed

samples/cellular/nrf_cloud_rest_device_message/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static bool cred_check(struct nrf_cloud_credentials_status *const cs)
248248
* - a CA for the TLS connections
249249
* - a private key to sign the JWT
250250
*/
251-
return (cs->ca && cs->prv_key);
251+
return (cs->ca && cs->ca_aws && cs->prv_key);
252252
}
253253

254254
static void await_credentials(void)

0 commit comments

Comments
 (0)