commit | 29a3a174ef1227551d596b260d57506bbf493cc0 | [log] [tgz] |
---|---|---|
author | tfarina <[email protected]> | Fri Oct 28 18:47:33 2016 |
committer | Commit bot <[email protected]> | Fri Oct 28 18:49:16 2016 |
tree | 23c1ee8ad75053338a3426916f4653f6582ebb7e | |
parent | c346a85602ff22ead6e8ce22f370267e3f192230 [diff] [blame] |
include boringssl headers from third_party explicitly This also allow us to participate in DEPS checking, which will help catch instances of directories including BoringSSL without adding to build targets. This patch was partly generated by the following command lines: $ g grep -l -e '^#[[:blank:]]*include <\(openssl[^>]*\)>' | xargs sed -i '/^#[[:blank:]]*include/s/<\(openssl[^>]*\)>/"\1"/' $ g grep -l "#include \"openssl/" | xargs sed -i -e 's/\(#.* \)"\(openssl\/.*\)"/\1"third_party\/boringssl\/src\/include\/\2"/' The regex were taken from http://stackoverflow.com/a/25378698 and https://svn.boost.org/trac/boost/ticket/12057, and adapted to suit our needs. Then the includes were put in their right places with some manual editing and the help of tools/sort-headers.py. BUG=446558 [email protected],[email protected],[email protected],[email protected] Review-Url: https://codereview.chromium.org/2449873005 Cr-Commit-Position: refs/heads/master@{#428442}
diff --git a/crypto/signature_creator.cc b/crypto/signature_creator.cc index 95423d4..c440fda 100644 --- a/crypto/signature_creator.cc +++ b/crypto/signature_creator.cc
@@ -4,14 +4,14 @@ #include "crypto/signature_creator.h" -#include <openssl/evp.h> -#include <openssl/rsa.h> #include <stddef.h> #include <stdint.h> #include "base/logging.h" #include "crypto/openssl_util.h" #include "crypto/rsa_private_key.h" +#include "third_party/boringssl/src/include/openssl/evp.h" +#include "third_party/boringssl/src/include/openssl/rsa.h" namespace crypto {