diff options
author | antirez <antirez@gmail.com> | 2020-06-06 11:44:05 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-06-06 11:44:05 +0200 |
commit | 44b76a75d2d9778491e6bf27119d32315706eda2 (patch) | |
tree | 5baed194f2ea55b4cb72b4399ee11d347de4a944 | |
parent | 61074b43a63feaa1655ef4e7d13808d315294443 (diff) | |
parent | 52e56bf70d95544a2d7f1d3c4e305ca0734d0545 (diff) | |
download | redis-44b76a75d2d9778491e6bf27119d32315706eda2.tar.gz |
Merge branch 'unstable' of github.com:/antirez/redis into unstable
-rw-r--r-- | src/tls.c | 2 | ||||
-rw-r--r-- | tests/integration/psync2-pingoff.tcl | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -217,7 +217,7 @@ int tlsConfigure(redisTLSContextConfig *ctx_config) { SSL_CTX_set_ecdh_auto(ctx, 1); #endif - if (SSL_CTX_use_certificate_file(ctx, ctx_config->cert_file, SSL_FILETYPE_PEM) <= 0) { + if (SSL_CTX_use_certificate_chain_file(ctx, ctx_config->cert_file) <= 0) { ERR_error_string_n(ERR_get_error(), errbuf, sizeof(errbuf)); serverLog(LL_WARNING, "Failed to load certificate: %s: %s", ctx_config->cert_file, errbuf); goto error; diff --git a/tests/integration/psync2-pingoff.tcl b/tests/integration/psync2-pingoff.tcl index 5a9a46d16..cdecfc5c6 100644 --- a/tests/integration/psync2-pingoff.tcl +++ b/tests/integration/psync2-pingoff.tcl @@ -64,6 +64,7 @@ start_server {} { # make sure replication is still alive and kicking $R(1) incr x wait_for_condition 50 1000 { + [status $R(0) loading] == 0 && [$R(0) get x] == 1 } else { fail "replica didn't get incr" |