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

fix(common): avoid run-time conflicts on Windows #12105

Merged
merged 1 commit into from Jul 16, 2023

Conversation

coryan
Copy link
Member

@coryan coryan commented Jul 16, 2023

The best explanation I found is in:

confluentinc/librdkafka#3554 (comment)

Basically using the FILE* variants of OpenSSL functions requires linking to the same MSVC runtime as the OpenSSL DLL, that can be tricky to figure out. Using the BIO* variants does not have the problem.


This change is Reviewable

The best explanation I found is in:

confluentinc/librdkafka#3554 (comment)

Basically using the `FILE*` variants of OpenSSL functions requires
linking to the same MSVC runtime as the OpenSSL DLL, that can be tricky
to figure out. Using the `BIO*` variants does not have the problem.
@coryan coryan temporarily deployed to internal July 16, 2023 16:59 — with GitHub Actions Inactive
@codecov
Copy link

codecov bot commented Jul 16, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (e34c8da) 93.68% compared to head (f269d8b) 93.68%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12105   +/-   ##
=======================================
  Coverage   93.68%   93.68%           
=======================================
  Files        2012     2012           
  Lines      175732   175729    -3     
=======================================
- Hits       164635   164633    -2     
+ Misses      11097    11096    -1     
Impacted Files Coverage Δ
...oud/internal/oauth2_service_account_credentials.cc 92.82% <100.00%> (-0.11%) ⬇️

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@coryan coryan marked this pull request as ready for review July 16, 2023 17:40
@coryan coryan requested a review from a team as a code owner July 16, 2023 17:40
@coryan coryan merged commit 20b8a3b into googleapis:main Jul 16, 2023
59 checks passed
@coryan coryan deleted the fix-common-openssl-windows-dll branch July 16, 2023 22:22
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.

None yet

2 participants