From 5db8473f12022a543a121a015abacf29e392d3cd Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 9 Oct 2016 19:34:32 +0900 Subject: [PATCH] Fix build error with OpenSSL < 1.0.2 (again) --- src/shrpx_ssl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_ssl.cc b/src/shrpx_ssl.cc index ad863b50..4d6dc385 100644 --- a/src/shrpx_ssl.cc +++ b/src/shrpx_ssl.cc @@ -485,12 +485,12 @@ int alpn_select_proto_cb(SSL *ssl, const unsigned char **out, } // namespace #endif // OPENSSL_VERSION_NUMBER >= 0x10002000L +#if !LIBRESSL_IN_USE && OPENSSL_VERSION_NUMBER >= 0x10002000L namespace { // https://tools.ietf.org/html/rfc6962#section-6 constexpr unsigned int TLS_EXT_SIGNED_CERTIFICATE_TIMESTAMP = 18; } // namespace -#if !LIBRESSL_IN_USE && OPENSSL_VERSION_NUMBER >= 0x10002000L namespace { int sct_add_cb(SSL *ssl, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *add_arg) {