summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-04-06 09:33:11 +1000
committerteor <teor@torproject.org>2019-04-06 09:33:11 +1000
commit48e990359b05661f2dd0ae503143ee9b18442475 (patch)
tree1f024787cacc543a7f94397c8971954d1bf6bd19 /src
parent102178e6d43ed990e972b2fbc4f611997c8943f0 (diff)
parenta0db5ade3e1e2b81ed1196eb98aeca53583fba64 (diff)
downloadtor-48e990359b05661f2dd0ae503143ee9b18442475.tar.gz
tor-48e990359b05661f2dd0ae503143ee9b18442475.zip
Merge branch 'maint-0.2.9' into maint-0.3.4
Diffstat (limited to 'src')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index b55511569b..6ff513b14f 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -1570,7 +1570,7 @@ tor_tls_classify_client_ciphers(const SSL *ssl,
smartlist_free(elts);
}
done:
- if (tor_tls)
+ if (tor_tls && peer_ciphers)
return tor_tls->client_cipher_list_type = res;
return res;