]> granicus.if.org Git - curl/commit
curl_global_sslset(): id == -1 is not necessarily an error
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 6 Dec 2018 16:18:43 +0000 (17:18 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 Dec 2018 10:38:22 +0000 (11:38 +0100)
commit2456152069a8f471c63fb2de07322bdd0c29e533
treed448f6eadcceaf4d191dba3d8730bd85440472bb
parent4db1874f88a0bfc1233cf9d881e33125c77a09ec
curl_global_sslset(): id == -1 is not necessarily an error

It is allowed to call that function with id set to -1, specifying the
backend by the name instead. We should imitate what is done further down
in that function to allow for that.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Closes #3346
lib/vtls/vtls.c