Add tls1.h header regardless of what SSL library is used.

pull/23165/head
Matthew Stevenson 5 years ago
parent 67f0106b8a
commit 3a14c1a432
  1. 4
      src/core/tsi/ssl_transport_security.cc

@ -49,11 +49,7 @@ extern "C" {
#include <openssl/engine.h> #include <openssl/engine.h>
#include <openssl/err.h> #include <openssl/err.h>
#include <openssl/ssl.h> #include <openssl/ssl.h>
#ifndef OPENSSL_IS_BORINGSSL
/* For the TLS1_3_version macro in OpenSSL. In BoringSSL, this macro is defined
* in ssl.h. */
#include <openssl/tls1.h> #include <openssl/tls1.h>
#endif
#include <openssl/x509.h> #include <openssl/x509.h>
#include <openssl/x509v3.h> #include <openssl/x509v3.h>
} }

Loading…
Cancel
Save