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

Replace the term SSL with TLS #103

Merged
merged 7 commits into from
Sep 26, 2024
Merged

Conversation

bjosv
Copy link
Collaborator

@bjosv bjosv commented Sep 25, 2024

This PR replaces the use of the term SSL with TLS, as done in valkey, and is mainly a search and replace but grouped in related chunks. The change can be reviewed in separate steps, each step is an own commit with a green CI.
But still, sorry about the size..

The commits are:

  1. Remove forward declaration of non-existing struct valkeySsl
    This is a on-line cleanup.
  2. Rename files to use 'tls' instead of 'ssl' in own commit.
  3. Updates needed after file renaming
    Making the build pass after renaming files.
  4. Rename ssl library and examples
    Use the name libvalkey_tls instead of libavalkey_ssl, update CMakeLists/Makefile and rename example binaries.
  5. Update API and functions to use tls instead of ssl
    Rename public API, and internal types and code.
  6. Update build and test flags
    CMake builds now accepts ENABLE_TLS instead of ENABLE_SSL.
    Make builds now accepts USE_TLS instead of USE_SSL.
    Standalone test.sh now accepts TEST_TLS instead of TEST_SSL.
  7. Update docs and migration guide

Signed-off-by: Björn Svensson <[email protected]>
Use the name libvalkey_tls instead of libavalkey_ssl.

Signed-off-by: Björn Svensson <[email protected]>
CMake builds now accepts ENABLE_TLS instead of ENABLE_SSL.
Make builds now accepts USE_TLS instead of USE_SSL.
Standalone test.sh now accepts TEST_TLS instead of TEST_SSL.

Signed-off-by: Björn Svensson <[email protected]>
Signed-off-by: Björn Svensson <[email protected]>
Copy link
Collaborator

@zuiderkwast zuiderkwast left a comment

Choose a reason for hiding this comment

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

LGTM.

Since we're rename everything anyway, now is a good time to rename this as well.

Copy link
Collaborator

@michael-grunder michael-grunder left a comment

Choose a reason for hiding this comment

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

Only downside is people having to build slightly differently when migrating but that's very minor.

@bjosv
Copy link
Collaborator Author

bjosv commented Sep 26, 2024

Only downside is people having to build slightly differently when migrating but that's very minor.

I guess so, this is an additional change to their builds besides fiddling with new header paths and library names.

@bjosv bjosv merged commit 1c57bf6 into valkey-io:main Sep 26, 2024
34 checks passed
@bjosv bjosv deleted the rename_ssl_to_tls branch September 26, 2024 08:17
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.

3 participants