Skip to content

Commit

Permalink
Merge branch 'maint-0.2.9' into maint-0.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Apr 5, 2019
2 parents 102178e + a0db5ad commit 48e9903
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions changes/bug30021
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
o Minor bugfixes (TLS protocol, integration tests):
- When classifying a client's selection of TLS ciphers, if the client
ciphers are not yet available, do not cache the result. Previously,
we had cached the unavailability of the cipher list and never looked
again, which in turn led us to assume that the client only supported
the ancient V1 link protocol. This, in turn, was causing Stem
integration tests to stall in some cases.
Fixes bug 30021; bugfix on 0.2.4.8-alpha.
2 changes: 1 addition & 1 deletion src/common/tortls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 48e9903

Please sign in to comment.