diff options
author | Theo Buehler <theo.buehler@cysec.systems> | 2020-04-22 09:43:01 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-04-24 10:14:48 +0200 |
commit | b0920e6e861acd05370f8c80688615b158c46b38 (patch) | |
tree | 57ecda6c44daf9c5c321a6d6281c748e16b51f9f | |
parent | 149b658b56503488705fec278f01864878540d76 (diff) | |
download | redis-b0920e6e861acd05370f8c80688615b158c46b38.tar.gz |
TLS: Fix build with SSL_OP_NO_CLIENT_RENEGOTIATION
There is no ssl in this scope, so the build breaks.
All the other options are set directly on the ctx.
-rw-r--r-- | src/tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ int tlsConfigure(redisTLSContextConfig *ctx_config) { #endif #ifdef SSL_OP_NO_CLIENT_RENEGOTIATION - SSL_CTX_set_options(ssl->ctx, SSL_OP_NO_CLIENT_RENEGOTIATION); + SSL_CTX_set_options(ctx, SSL_OP_NO_CLIENT_RENEGOTIATION); #endif if (ctx_config->prefer_server_ciphers) |