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

Use openssl? instead of OpenSSL::OPENSSL_VERSION_NUMBER. #663

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

junaruga
Copy link
Member

This PR is just for refactoring to use the common method test/openssl/utils.rb#openssl? instead of using the OpenSSL::OPENSSL_VERSION_NUMBER directly.

@junaruga junaruga force-pushed the wip/test-use-openssl-version-method branch from 05bfef6 to a237e44 Compare August 15, 2023 06:27
Update the `openssl?` method by adding status argument.

Note the format is below.

* OpenSSL 3: 0xMNN00PP0 (major minor 00 patch 0)
* OpenSSL 1: 0xMNNFFPPS (major minor fix patch status)

See <https://www.openssl.org/docs/man1.1.1/man3/OPENSSL_VERSION_NUMBER.html>
for details.
@junaruga junaruga force-pushed the wip/test-use-openssl-version-method branch from a237e44 to db8deaa Compare August 15, 2023 06:45
@junaruga
Copy link
Member Author

junaruga commented Aug 15, 2023

I am rebasing updating the code and commit message. I updated the openssl? method by adding status argument.

Note the format is below.

  • OpenSSL 3: 0xMNN00PP0 (major minor 00 patch 0)
  • OpenSSL 1: 0xMNNFFPPS (major minor fix patch status)

You can see the following documents for details, and other versions of the documents from the links on the page.

@rhenium rhenium merged commit 6424402 into ruby:master Aug 16, 2023
43 checks passed
@rhenium
Copy link
Member

rhenium commented Aug 16, 2023

Yes, these should have been using the openssl? helper. Thank you!

@junaruga junaruga deleted the wip/test-use-openssl-version-method branch August 17, 2023 16:24
@junaruga
Copy link
Member Author

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants