mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix nsm for unencrypted connections
When connecting using a cleartext connection, nsm was erroring out and tearing down the connection because it was trying to display nonexistent certificate information. * lisp/net/nsm.el (nsm-query-user): Only format certificate status when it is valid. (Bug#37221)
This commit is contained in:
parent
d607067dd7
commit
fc9ed61a43
1 changed files with 1 additions and 1 deletions
|
|
@ -823,7 +823,7 @@ protocol."
|
|||
;; First format the certificate and warnings.
|
||||
(with-current-buffer-window
|
||||
buffer nil nil
|
||||
(insert (nsm-format-certificate status))
|
||||
(when status (insert (nsm-format-certificate status)))
|
||||
(insert message)
|
||||
(goto-char (point-min))
|
||||
;; Fill the first line of the message, which usually
|
||||
|
|
|
|||
Loading…
Reference in a new issue