GoogleCloudPlatform / iot-device-sdk-embedded-c

Cloud IoT Device SDK for Connectivity to IoT Core.
Other
247 stars 83 forks source link

WolfSSL fixes #88

Closed sheindel closed 4 years ago

sheindel commented 5 years ago

Resolves https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/issues/86 Resolves https://github.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/issues/87

Fixes the issues above related to WolfSSL usage, including sharing a WC_RNG instance across the SDK and defining platform specific makefile configs

sheindel commented 5 years ago

Build error seems to be an inability on the part of Travis to retrieve the FreeRTOS kernel

Reference: https://travis-ci.com/GoogleCloudPlatform/iot-device-sdk-embedded-c/jobs/253678125#L753

IOTC FreeRTOS Linux build: downloading FreeRTOS Kernel to file /home/travis/build/GoogleCloudPlatform/iot-device-sdk-embedded-c/third_party/FreeRTOSv10.1.1.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
make/mt-os/mt-freertos-linux.mk:75: recipe for target '/home/travis/build/GoogleCloudPlatform/iot-device-sdk-embedded-c/third_party/FreeRTOSv10.1.1.zip' failed
make: *** [/home/travis/build/GoogleCloudPlatform/iot-device-sdk-embedded-c/third_party/FreeRTOSv10.1.1.zip] Error 60
The command "$BEFORE_SCRIPT_ACTION" failed and exited with 2 during .
sheindel commented 5 years ago

Updated to merge into development

DellaBitta commented 4 years ago

I've approved the branch but it looks like the branch might need to merge development into it first.

sheindel commented 4 years ago

@atigyi @DellaBitta looks like all builds have passed and we've merged with development. I'll leave it to you to pull in. Thanks so much for all your help and feedback!