diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-04-21 18:10:55 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2018-10-22 16:30:31 +0200 |
commit | f91be546bf70787f84a30431b327d1c675de3d9d (patch) | |
tree | fae8a0e9aced4e5db6c4ec966f2a17e9398eb9a8 /plugins/check_curl.c | |
parent | 82744e97050807fb162895ba444d5a1ebca8b823 (diff) | |
download | monitoring-plugins-f91be546bf70787f84a30431b327d1c675de3d9d.tar.gz |
disable non-OpenSSL code compilation in -C check if we have USE_OPENSSL set
Diffstat (limited to 'plugins/check_curl.c')
-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 */ |