diff options
author | Adam Langley <agl@google.com> | 2015-09-02 15:45:12 -0700 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-09-02 15:45:12 -0700 |
commit | 7a688f6e8774920cb8cfc52bf2e3c16976e8ff23 (patch) | |
tree | bf001085cdc8022185869b91049ebf7971c1a0ad /verity | |
parent | d36de04aaa52bb66bf9e4470b7ed4d6cfc88aaeb (diff) | |
download | extras-7a688f6e8774920cb8cfc52bf2e3c16976e8ff23.tar.gz |
Prepare for BoringSSL update.
This change tweaks things as needed so that the code will compile
against both the BoringSSL that's currently in Android and a version
from upstream. The BORINGSSL_201509 define is temporary to allow the
switch to happen without breaking the build and a followup change will
remove it.
In this case, we backed off on removing |ERR_print_errors|, despite it
being a wart in the layering of the code.
Change-Id: I2f2f567cfc37fe2d5a69742302c5a92d289b814f
Diffstat (limited to 'verity')
-rw-r--r-- | verity/verify_boot_signature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/verity/verify_boot_signature.c b/verity/verify_boot_signature.c index 58b7a194..fada61d0 100644 --- a/verity/verify_boot_signature.c +++ b/verity/verify_boot_signature.c @@ -72,7 +72,7 @@ IMPLEMENT_ASN1_FUNCTIONS(BootSignature) static BIO *g_error = NULL; -#if defined(OPENSSL_IS_BORINGSSL) +#if defined(OPENSSL_IS_BORINGSSL) && !defined(BORINGSSL_201509) /* In BoringSSL, ERR_print_errors has been moved to the BIO functions in order * to avoid the incorrect dependency of ERR on BIO. */ static void ERR_print_errors(BIO *bio) { |