diff options
| author | Lars Magne Ingebrigtsen | 2014-11-27 00:44:54 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2014-11-27 00:44:54 +0100 |
| commit | 666e90e5ccef2d2b19428b6a5cb41a2efe7d46db (patch) | |
| tree | 0c0d3c1aef4077164176e88de478c1f02dca8cdc | |
| parent | 803df8492dd0ecfe7368c279d1f4df2d4fe18fe2 (diff) | |
| download | emacs-666e90e5ccef2d2b19428b6a5cb41a2efe7d46db.tar.gz emacs-666e90e5ccef2d2b19428b6a5cb41a2efe7d46db.zip | |
Better display for `paranoid' `network-security-level'
* net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
when querying about new certificates.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/net/nsm.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d0d44dfd49a..53414ed7a7b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org> | 1 | 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 2 | ||
| 3 | * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate | ||
| 4 | when querying about new certificates. | ||
| 5 | |||
| 3 | * net/shr.el (shr-make-table-1): dom.el changes for table rendering. | 6 | * net/shr.el (shr-make-table-1): dom.el changes for table rendering. |
| 4 | 7 | ||
| 5 | * dom.el (dom-by-tag): Use `equal' for comparisons so that tags | 8 | * dom.el (dom-by-tag): Use `equal' for comparisons so that tags |
diff --git a/lisp/net/nsm.el b/lisp/net/nsm.el index c5e048a7272..2b540f34e9c 100644 --- a/lisp/net/nsm.el +++ b/lisp/net/nsm.el | |||
| @@ -204,7 +204,7 @@ unencrypted." | |||
| 204 | 204 | ||
| 205 | (defun nsm-new-fingerprint-ok-p (host port status) | 205 | (defun nsm-new-fingerprint-ok-p (host port status) |
| 206 | (nsm-query | 206 | (nsm-query |
| 207 | host port nil 'fingerprint | 207 | host port status 'fingerprint |
| 208 | "The fingerprint for the connection to %s:%s is new:\n%s" | 208 | "The fingerprint for the connection to %s:%s is new:\n%s" |
| 209 | host port | 209 | host port |
| 210 | (nsm-fingerprint status))) | 210 | (nsm-fingerprint status))) |