Commit 83efe502 authored by David Benjamin's avatar David Benjamin Committed by Commit Bot

Use BoringSSL's forward declaration header.

This avoids depending on the name of the C struct. BoringSSL already
provides a header with forward declarations.

Change-Id: I0187f4c51c674746d5926b372ab48ea0e72eae4e
Reviewed-on: https://chromium-review.googlesource.com/c/1287044Reviewed-by: default avatarJoe Downing <joedow@chromium.org>
Reviewed-by: default avatarSteven Valdez <svaldez@chromium.org>
Commit-Queue: David Benjamin <davidben@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606923}
parent 7537781b
...@@ -13,9 +13,7 @@ ...@@ -13,9 +13,7 @@
#include "base/macros.h" #include "base/macros.h"
#include "build/build_config.h" #include "build/build_config.h"
#include "crypto/crypto_export.h" #include "crypto/crypto_export.h"
#include "third_party/boringssl/src/include/openssl/base.h"
// Forward declaration for openssl/*.h
typedef struct env_md_ctx_st EVP_MD_CTX;
namespace crypto { namespace crypto {
......
...@@ -12,10 +12,7 @@ ...@@ -12,10 +12,7 @@
#include "base/strings/string_piece.h" #include "base/strings/string_piece.h"
#include "net/base/net_export.h" #include "net/base/net_export.h"
#include "net/cert/signed_certificate_timestamp.h" #include "net/cert/signed_certificate_timestamp.h"
#include "third_party/boringssl/src/include/openssl/base.h"
// Forward declare the crypto types to avoid having to include the full
// headers.
typedef struct evp_pkey_st EVP_PKEY;
namespace net { namespace net {
......
...@@ -14,8 +14,7 @@ ...@@ -14,8 +14,7 @@
#include "base/macros.h" #include "base/macros.h"
#include "base/memory/ref_counted.h" #include "base/memory/ref_counted.h"
#include "remoting/protocol/authenticator.h" #include "remoting/protocol/authenticator.h"
#include "third_party/boringssl/src/include/openssl/base.h"
typedef struct spake2_ctx_st SPAKE2_CTX;
namespace remoting { namespace remoting {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment