]> granicus.if.org Git - curl/commit
curl_setup: Ensure no more than one IDN lib is enabled
authorJay Satiro <raysatiro@yahoo.com>
Mon, 1 May 2017 17:44:39 +0000 (13:44 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 1 May 2017 18:48:34 +0000 (14:48 -0400)
commit499a7288fe831ef51a9b0930fc67bcd97aa6c675
tree47883613f5a18b5da165054454c41b61491f46fb
parent0912a5c760dd9b85692e121313a04797b52d4ab2
curl_setup: Ensure no more than one IDN lib is enabled

Prior to this change it was possible for libcurl to be built with both
Windows' native IDN lib (normaliz) and libidn2 enabled. It appears that
doesn't offer any benefit --and could cause a bug-- since libcurl's IDN
handling is written to use either one but not both.

Bug: https://github.com/curl/curl/issues/1441#issuecomment-297689856
Reported-by: Gisle Vanem
lib/curl_setup.h