| 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 43c05870cbd59f597380f317a318429715bd7181..712a2dceb8c4d61863bfefaf588e2de6ecde5fd3 100644
|
| --- a/content/child/web_url_loader_impl.cc
|
| +++ b/content/child/web_url_loader_impl.cc
|
| @@ -238,11 +238,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 = "";
|
| }
|
|
|