mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-25 00:00:20 -04:00
curl: Handle LibreSSL like OpenSSL in regards to multi-threading
LibreSSL is API compatible so our openssl plugin does not need any changes and it works fine with the curl plugin.
This commit is contained in:
parent
e8c73c1cf0
commit
de9b3491ad
@ -60,7 +60,7 @@ static void add_feature_with_ssl(private_curl_plugin_t *this, const char *ssl,
|
|||||||
char *proto, plugin_feature_t f)
|
char *proto, plugin_feature_t f)
|
||||||
{
|
{
|
||||||
/* http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading */
|
/* http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading */
|
||||||
if (strpfx(ssl, "OpenSSL"))
|
if (strpfx(ssl, "OpenSSL") || strpfx(ssl, "LibreSSL"))
|
||||||
{
|
{
|
||||||
add_feature(this, f);
|
add_feature(this, f);
|
||||||
add_feature(this, PLUGIN_DEPENDS(CUSTOM, "openssl-threading"));
|
add_feature(this, PLUGIN_DEPENDS(CUSTOM, "openssl-threading"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user