mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(open-tls-stream): Reindent.
This commit is contained in:
parent
aff67808c1
commit
ea666a77e1
2 changed files with 13 additions and 9 deletions
|
|
@ -251,19 +251,19 @@ Fourth arg PORT is an integer specifying a port to connect to."
|
|||
;; `openssl s_client' and `gnutls' print
|
||||
(let ((start-of-data nil))
|
||||
(while
|
||||
(not (setq start-of-data
|
||||
;; the string matching `tls-end-of-info'
|
||||
;; might come in separate chunks from
|
||||
;; `accept-process-output', so start the
|
||||
;; search where `tls-success' ended
|
||||
(save-excursion
|
||||
(if (re-search-forward tls-end-of-info nil t)
|
||||
(match-end 0)))))
|
||||
(not (setq start-of-data
|
||||
;; the string matching `tls-end-of-info'
|
||||
;; might come in separate chunks from
|
||||
;; `accept-process-output', so start the
|
||||
;; search where `tls-success' ended
|
||||
(save-excursion
|
||||
(if (re-search-forward tls-end-of-info nil t)
|
||||
(match-end 0)))))
|
||||
(accept-process-output process 1))
|
||||
(if start-of-data
|
||||
;; move point to start of client data
|
||||
(goto-char start-of-data)))
|
||||
(setq done process))))
|
||||
(setq done process))))
|
||||
(when (and done
|
||||
(or
|
||||
(and tls-checktrust
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue