From 671b0def19f7950545d699033b606bd6df65936f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 21 Apr 2017 18:10:55 +0200 Subject: disable non-OpenSSL code compilation in -C check if we have USE_OPENSSL set --- plugins/check_curl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/check_curl.c b/plugins/check_curl.c index 603c7be6..050c0d4c 100644 --- a/plugins/check_curl.c +++ b/plugins/check_curl.c @@ -1752,6 +1752,7 @@ curlhelp_get_ssl_library_string (curlhelp_ssl_library ssl_library) } #ifdef LIBCURL_FEATURE_SSL +#ifndef USE_OPENSSL time_t parse_cert_date (const char *s) { @@ -1885,4 +1886,5 @@ HAVE_FIRST_CERT: } return status; } +#endif /* USE_OPENSSL */ #endif /* LIBCURL_FEATURE_SSL */ -- cgit v1.2.3-74-g34f1