diff options
author | Jimmy Yuen Ho Wong <wyuenho@gmail.com> | 2018-07-10 14:23:20 +0100 |
---|---|---|
committer | Jimmy Yuen Ho Wong <wyuenho@gmail.com> | 2018-07-14 17:50:44 +0100 |
commit | 682578fcf74d4598e39eca81e09d81810d3fc28d (patch) | |
tree | d8a8f54c778a831229405cd9706066ac582d3826 /lisp/emacs-lisp | |
parent | 534a3d5d3a99a6b86a47b3d91840ce8771ee0ae6 (diff) | |
download | emacs-682578fcf74d4598e39eca81e09d81810d3fc28d.tar.gz emacs-682578fcf74d4598e39eca81e09d81810d3fc28d.tar.bz2 emacs-682578fcf74d4598e39eca81e09d81810d3fc28d.zip |
Add option to bypass NSM TLS checks on local networks
* lisp/net/net-utils.el (nslookup-host-ipv4, nslookup-host-ipv6,
ipv6-expand): New functions to lookup IPv4 and IPv6 addresses from
DNS.
* lisp/net/nsm.el (nsm-trust-local-network, nsm-should-check,
nsm-check-tls-connection, nsm-check-plain-connection): New defcustom
`nsm-trust-local-network' lets users customize whether NSM should
check for TLS problems when connecting to the hosts on their local
networks. `nsm-should-check' determines whether
`nsm-check-tls-connection' and `nsm-check-plain-connection' should
perform checks. localhost is implicitly trusted, thus checks are
never performed there.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions