diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-21 18:10:55 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-21 18:10:55 +0200 |
commit | 671b0def19f7950545d699033b606bd6df65936f (patch) | |
tree | 5d3e7613361d96088d6512042d0bc703688dd95d /plugins | |
parent | e74128e66d3ce295d7603adc74a923fb481c14ae (diff) | |
download | monitoring-plugins-671b0def19f7950545d699033b606bd6df65936f.tar.gz |
disable non-OpenSSL code compilation in -C check if we have USE_OPENSSL set
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_curl.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) | |||
1752 | } | 1752 | } |
1753 | 1753 | ||
1754 | #ifdef LIBCURL_FEATURE_SSL | 1754 | #ifdef LIBCURL_FEATURE_SSL |
1755 | #ifndef USE_OPENSSL | ||
1755 | time_t | 1756 | time_t |
1756 | parse_cert_date (const char *s) | 1757 | parse_cert_date (const char *s) |
1757 | { | 1758 | { |
@@ -1885,4 +1886,5 @@ HAVE_FIRST_CERT: | |||
1885 | } | 1886 | } |
1886 | return status; | 1887 | return status; |
1887 | } | 1888 | } |
1889 | #endif /* USE_OPENSSL */ | ||
1888 | #endif /* LIBCURL_FEATURE_SSL */ | 1890 | #endif /* LIBCURL_FEATURE_SSL */ |