Added support for TLS_FALLBACK_SCSV.
This commit is contained in:
parent
6cc90dad21
commit
7561e7d6c8
8 changed files with 457 additions and 412 deletions
|
|
@ -37,6 +37,9 @@ sr_choose(const br_ssl_server_policy_class **pctx,
|
|||
pc = (br_ssl_server_policy_rsa_context *)pctx;
|
||||
st = br_ssl_server_get_client_suites(cc, &st_num);
|
||||
hash_id = br_ssl_choose_hash(br_ssl_server_get_client_hashes(cc));
|
||||
if (cc->eng.session.version < BR_TLS12) {
|
||||
hash_id = 0;
|
||||
}
|
||||
choices->chain = pc->chain;
|
||||
choices->chain_len = pc->chain_len;
|
||||
for (u = 0; u < st_num; u ++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue