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

Renamed variables 'private' and 'public' to prevent compilation problems with C++ #85

Merged
merged 1 commit into from
Jul 27, 2016

Conversation

mtausig
Copy link
Contributor

@mtausig mtausig commented Jul 27, 2016

private and public are reserved words in C++, so using these as variable names can cause problems if you want to use uECC in a c++ program. I just renamed all such variables (changing private to private_key in one occasion, and prefixing the rest with an underscore) to fix that.

@kmackay kmackay merged commit 14222e0 into kmackay:master Jul 27, 2016
@kmackay
Copy link
Owner

kmackay commented Jul 27, 2016

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants