GNU bug report logs -
#14380
24.3; `network-stream-open-tls' fails in some imap servers on w32
Previous Next
Reported by: joaotavora <at> gmail.com (João Távora)
Date: Fri, 10 May 2013 12:50:02 UTC
Severity: normal
Found in version 24.3
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 14380 <at> debbugs.gnu.org (full text, mbox):
More or less, you didn't misunderstand my analysis, but I didn't use
built-in tls because its not the default (I did see some
references to it, and the function seems to be fboundp (whereas in linux
its not) but the code path didn't lead that way for some reason).
With emacs -Q, setting gnus-select-method that way and then doing M-x gnus
fails.
If the builtin tls fixes this and its the "recommended way" it should
be the default no?
Maybe it *is* the default but emacs -Q possibly configured itself to use
some external gnutls and configure itself after it. I'm using cygwin, so
that might be the case. In that case, this might be seen as a cygwin bug,
in which case I apologize for the noise.
btw: how to I configure emacs to use builtin gnutls?
J
On Fri, May 10, 2013 at 3:00 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: joaotavora <at> 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?
--
João Távora
This bug report was last modified 11 years and 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.