]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
prefill: replace CA directory path with CA file path
authorPetr Špaček <petr.spacek@nic.cz>
Wed, 18 Apr 2018 10:49:50 +0000 (12:49 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Wed, 18 Apr 2018 15:08:29 +0000 (17:08 +0200)
commite4efadf1e8640a9b808ad80e21da56e9a09ed2ba
tree6aac4bdd737a129cf0fdedde606a374260395602
parentc4043a1482fe19bd46d0fd627b78c3b02a1846e6
prefill: replace CA directory path with CA file path

luasec internally calls SSL_CTX_load_verify_locations() which has
non-intuituve behavior for directories. Given that we already use path
to certificate file for TLS_FORWARD it is better to use consistent and
intuitive interface.
modules/prefill/prefill.lua