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

MONGOCRYPT-760 Rename set_error to kms_set_error #923

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

MonkeybreadSoftware
Copy link
Contributor

set_error is an awful generic name for a global function.

Sadly this easily conflicts with other libraries if you statically link this into an application.

please have us rename set_error to kms_set_error to avoid link errors with libraries/applications that also have set_error as function.

set_error is an awful generic name for a global function.

Sadly this easily conflicts with other libraries if you statically link this into an application.

please have us rename set_error to kms_set_error to avoid link errors with libraries/applications that also have set_error as function.
also renamed set_error here
@kevinAlbs kevinAlbs self-requested a review December 12, 2024 19:58
@kevinAlbs kevinAlbs changed the title Renamed set_error to kms_set_error MONGOCRYPT-760 Rename set_error to kms_set_error Dec 16, 2024
Copy link
Contributor

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the improvement. LGTM

@kevinAlbs kevinAlbs merged commit ea8af83 into mongodb:master Dec 16, 2024
46 of 53 checks passed
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