• Vladimír Čunát's avatar
    daemon: rework handling of TLS authentication params · 81b1450e
    Vladimír Čunát authored and Petr Špaček's avatar Petr Špaček committed
    It's mainly about the way we parse and validate them.
    
    Almost all of the parts of validation that were being done
    in modules/policy/policy.lua and daemon/tls.c got moved
    to daemon/bindings/net.c, so it's easier to follow that.
    Also more checks are being done now, e.g. contents of .pin_sha256
    and .hostname strings.
    81b1450e