-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
Signed-off-by: Björn Svensson <[email protected]>
Signed-off-by: Björn Svensson <[email protected]>
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]>
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]>
There was a problem hiding this 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.
There was a problem hiding this 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.
I guess so, this is an additional change to their builds besides fiddling with new header paths and library names. |
This PR replaces the use of the term
SSL
withTLS
, as done invalkey
, 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:
Remove forward declaration of non-existing struct valkeySsl
This is a on-line cleanup.
Rename files to use 'tls' instead of 'ssl'
in own commit.Updates needed after file renaming
Making the build pass after renaming files.
Rename ssl library and examples
Use the name
libvalkey_tls
instead oflibavalkey_ssl
, update CMakeLists/Makefile and rename example binaries.Update API and functions to use tls instead of ssl
Rename public API, and internal types and code.
Update build and test flags
CMake builds now accepts
ENABLE_TLS
instead ofENABLE_SSL
.Make builds now accepts
USE_TLS
instead ofUSE_SSL
.Standalone test.sh now accepts
TEST_TLS
instead ofTEST_SSL
.Update docs and migration guide