Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
BoringSSL has i2d_re_X509_tbs now.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidben authored and pphaneuf committed May 29, 2018
1 parent 9ac19c5 commit db11638
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cpp/log/cert.cc
Expand Up @@ -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;
Expand Down

0 comments on commit db11638

Please sign in to comment.