Support TLS 1.3 in bssl client.
Note that this is currently doing fake TLS 1.3 until the handshake is in. Change-Id: I3fbf0049e2a0f1d7464b94a69421e198e0bb768d Reviewed-on: https://boringssl-review.googlesource.com/8820 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
0b8d5dab1f
commit
f5975d865b
@ -119,6 +119,9 @@ static bool VersionFromString(uint16_t *out_version,
|
|||||||
} else if (version == "tls1.2") {
|
} else if (version == "tls1.2") {
|
||||||
*out_version = TLS1_2_VERSION;
|
*out_version = TLS1_2_VERSION;
|
||||||
return true;
|
return true;
|
||||||
|
} else if (version == "tls1.3") {
|
||||||
|
*out_version = TLS1_3_VERSION;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user