// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/ssl/cert_compression.h" #include <cstdint> #include "third_party/boringssl/src/include/openssl/ssl.h" #if !defined(NET_DISABLE_BROTLI) #include "third_party/brotli/include/brotli/decode.h" #endif namespace net { namespace { #if !defined(NET_DISABLE_BROTLI) int DecompressBrotliCert(SSL* ssl, CRYPTO_BUFFER** out, size_t uncompressed_len, const uint8_t* in, size_t in_len) { … } #endif } // namespace void ConfigureCertificateCompression(SSL_CTX* ctx) { … } } // namespace net