Use SSL_get_extms_support in bssl_shim.
The API is definitive and works in TLS 1.3. Change-Id: Ifefa295bc792f603b297e796559355f66f668811 Reviewed-on: https://boringssl-review.googlesource.com/8772 Reviewed-by: David Benjamin <davidben@google.com>
This commit is contained in:
parent
e907765021
commit
8ac3571c93
@ -1092,8 +1092,8 @@ static bool CheckHandshakeProperties(SSL *ssl, bool is_resume) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (config->expect_extended_master_secret) {
|
if (config->expect_extended_master_secret) {
|
||||||
if (!ssl->session->extended_master_secret) {
|
if (!SSL_get_extms_support(ssl)) {
|
||||||
fprintf(stderr, "No EMS for session when expected");
|
fprintf(stderr, "No EMS for connection when expected");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user