[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on
From: |
Eli Zaretskii |
Subject: |
bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32 |
Date: |
Fri, 10 May 2013 17:00:10 +0300 |
> From: joaotavora@gmail.com (João Távora)
> Date: Fri, 10 May 2013 13:49:20 +0100
>
>
> (list stream
> (network-stream-get-response stream start eoc)
> (network-stream-command stream capability-command eoc)
> 'tls)
>
> This is turn is because code immediately preceding it
>
> ;; If we're using tls.el, we have to delete the output from
> ;; openssl/gnutls-cli.
> (when (and (null use-builtin-gnutls)
> eoc)
> (network-stream-get-response stream start eoc)
> (goto-char (point-min))
> (when (re-search-forward eoc nil t)
> (goto-char (match-beginning 0))
> (delete-region (point-min) (line-beginning-position))))
>
> is not really doing what it says it's doing: it's not deleting enough
> input, and the search for capabilities actually returns the IMAP
> greeting.
Why don't you use the built-in gnutls? This is the recommended way of
using GnuTLS on Windows.
Or did I misunderstand your analysis?
bug#14380: 24.3; `network-stream-open-tls' fails in some imap servers on w32, Ted Zlatanov, 2013/05/24