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

lib/cpp/test/Security*Test.cpp: Fix the check for OpenSSL version macro #2864

Merged

Conversation

emmenlau
Copy link
Member

This commit fixes the current build problem on MSVC (see i.e. https://ci.appveyor.com/project/ApacheSoftwareFoundation/thrift/builds/48238772/job/cyh9vdh0xsiadd01)

C:\projects\thrift\lib\cpp\test\SecurityFromBufferTest.cpp(202): error C2065: 'OPENSSL_VERSION_MAJOR': undeclared identifier [C:\projects\build\MSVC2017\x64\lib\cpp\test\SecurityFromBufferTest.vcxproj]
C:\projects\thrift\lib\cpp\test\SecurityTest.cpp(224): error C2065: 'OPENSSL_VERSION_MAJOR': undeclared identifier 
  • Did you create an Apache Jira ticket? (Request account here, not required for trivial changes)
  • If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
  • Did you squash your changes to a single commit? (not required, but preferred)
  • Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
  • If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

@emmenlau emmenlau self-assigned this Oct 11, 2023
@Jens-G Jens-G added the c++ label Oct 11, 2023
@emmenlau
Copy link
Member Author

@emmenlau emmenlau merged commit ffa4f54 into apache:master Oct 12, 2023
10 of 11 checks passed
@emmenlau emmenlau deleted the emmenlau_fix_openssl_version_macros branch October 12, 2023 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants