Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA_ROOT_CERTIFICATE defined as a global variable #41

Open
csgregg opened this issue Jan 20, 2022 · 0 comments
Open

CA_ROOT_CERTIFICATE defined as a global variable #41

csgregg opened this issue Jan 20, 2022 · 0 comments

Comments

@csgregg
Copy link

csgregg commented Jan 20, 2022

CA_ROOT_CERTIFICATE is defined as a global in ThingerClient.h, so makes the library difficult to use when needing to add to multiple files in the same build. Possible solutions - 1) change CA_ROOT_CERTIFICATE to a #define instead of a global variable. 2) pass the cert in the constructor and let the user define the correct cert...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant