Permalink
Browse files

BoringSSL has i2d_re_X509_tbs now.

  • Loading branch information...
davidben authored and pphaneuf committed May 8, 2018
1 parent 9ac19c5 commit db11638b5a7dd15bee179b01fc5799e4ba70dbe5
Showing with 4 additions and 1 deletion.
  1. +4 −1 cpp/log/cert.cc
View
@@ -31,7 +31,10 @@ using util::StatusOr;
using util::error::Code;
#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(OPENSSL_IS_BORINGSSL)
// TODO(davidben): Remove this after syncing past
// https://boringssl-review.googlesource.com/c/boringssl/+/28224.
#if OPENSSL_VERSION_NUMBER < 0x10002000L || \
(defined(OPENSSL_IS_BORINGSSL) && BORINGSSL_API_VERSION < 9)
// Backport from 1.0.2-beta3.
static int i2d_re_X509_tbs(X509* x, unsigned char** pp) {
x->cert_info->enc.modified = 1;

0 comments on commit db11638

Please sign in to comment.