| Index: content/child/web_url_loader_impl.cc
|
| diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
|
| index e19bf5fc051e969decc0b37214975d882662f0a3..dd6425d64fe227305fde3703df4a553694a27a15 100644
|
| --- a/content/child/web_url_loader_impl.cc
|
| +++ b/content/child/web_url_loader_impl.cc
|
| @@ -276,11 +276,17 @@ void SetSecurityStyleAndDetails(const GURL& url,
|
| const char* cipher;
|
| const char* mac;
|
| bool is_aead;
|
| + bool is_tls13;
|
| uint16_t cipher_suite =
|
| net::SSLConnectionStatusToCipherSuite(info.ssl_connection_status);
|
| net::SSLCipherSuiteToStrings(&key_exchange, &cipher, &mac, &is_aead,
|
| - cipher_suite);
|
| - if (mac == NULL) {
|
| + &is_tls13, cipher_suite);
|
| + if (key_exchange == nullptr) {
|
| + DCHECK(is_tls13);
|
| + key_exchange = "";
|
| + }
|
| +
|
| + if (mac == nullptr) {
|
| DCHECK(is_aead);
|
| mac = "";
|
| }
|
|
|