mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
disable non-OpenSSL code compilation in -C check if we have USE_OPENSSL set
This commit is contained in:
parent
82744e9705
commit
f91be546bf
1 changed files with 2 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue