diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-08-31 11:54:51 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-01 11:51:32 +0200 |
commit | c290b8fb23f6b6fd8e06e22755d23a5e8e3623aa (patch) | |
tree | 4f883f38c405cbce8b1882c88c87c6f84c19f7ba /lib/vtls | |
parent | 1cf323ec4e065b35235a8844626934e1a044bd38 (diff) |
curl_global_sslset: select backend by name case insensitively
Closes #1849
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/vtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index 73ed7a31b..3647dff71 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -1272,7 +1272,7 @@ CURLsslset curl_global_sslset(curl_sslbackend id, const char *name, for(i = 0; available_backends[i]; i++) if(available_backends[i]->info.id == id || - (name && !strcmp(available_backends[i]->info.name, name))) { + (name && Curl_strcasecompare(available_backends[i]->info.name, name))) { multissl_init(available_backends[i]); return CURLSSLSET_OK; } |