summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-04-06 09:28:58 +1000
committerteor <teor@torproject.org>2019-04-06 09:28:58 +1000
commita0db5ade3e1e2b81ed1196eb98aeca53583fba64 (patch)
tree79fafefb091740d92a33c7b32e42f22a45339d65 /src
parente1955a2c54e2c9ab25252c46f13f0a222828a6ff (diff)
parent1710f4bbd6bb100901e7f601a1c0f96b51845f86 (diff)
downloadtor-a0db5ade3e1e2b81ed1196eb98aeca53583fba64.tar.gz
tor-a0db5ade3e1e2b81ed1196eb98aeca53583fba64.zip
Merge remote-tracking branch 'tor-github/pr/902' into maint-0.2.9
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 1fbe3c663e..f79969d0da 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -1500,7 +1500,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;