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

Improve example for SSL initialization in README.md #1084

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

stanhu
Copy link
Contributor

@stanhu stanhu commented Aug 10, 2022

The previous example left ssl_error uninitialized. redisCreateSSLContex is not guaranteed to set this when no error occurs.

Use the REDIS_SSL_CTX_NONE constant instead of 0 to be precise.

The previous example left `ssl_error`
uninitialized. `redisCreateSSLContex` is not guaranteed to set this
when no error occurs.

Use the `REDIS_SSL_CTX_NONE` constant instead of 0 to be precise.
@michael-grunder michael-grunder merged commit dd7979a into redis:master Aug 10, 2022
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.

2 participants