xaptum / xtt

A C implementation of the Trusted Transit protocol for securing Internet of Things (IoT) network traffic. Created to support the Xaptum Edge Network Fabric, an IoT Network Solution.
https://www.xaptum.com
Apache License 2.0
5 stars 5 forks source link

Run tool in Travis #100

Closed kathrynfejer closed 5 years ago

kathrynfejer commented 5 years ago

Travis can now run all of the tool functionalities and the XTT handshake (with software DAA) using the default values.

Edit: client.c has been changed to return a value from util/util_errors.h. xtt.c returns 0 only when the chosen function returns a 0 and a 1 if any other value is returned--which fixes #101

zanebeckwith commented 5 years ago

Thanks for making the changes to the tool, to make sure it returns non-zero on error!

I force pushed, to rebase onto the recent changes on master.

I also moved your work from the travis.yml file into its own test script, so that we can run the same quick check locally (including on every invocation of ctest). Let me know what you think of those changes, and if you like them feel free to rebase them into your previous commits.

Otherwise, LGTM!

kathrynfejer commented 5 years ago

Those look great, thanks!