1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

prevent compiler warning when built without engine support

This commit is contained in:
Daniel Stenberg 2004-12-14 22:06:25 +00:00
parent dc28a9c0c1
commit 553082e24a

View File

@ -534,6 +534,7 @@ CURLcode Curl_SSL_set_engine(struct SessionHandle *data, const char *engine)
data->state.engine = e;
return (CURLE_OK);
#else
(void)engine;
failf(data, "SSL Engine not supported");
return (CURLE_SSL_ENGINE_NOTFOUND);
#endif