disable non-OpenSSL code compilation in -C check if we have USE_OPENSSL set

This commit is contained in:
Andreas Baumann 2017-04-21 18:10:55 +02:00 committed by Sven Nierlein
parent 82744e9705
commit f91be546bf

View file

@ -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 */