all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Robert Pluim <rpluim@gmail.com>
Cc: darael@dracon.is, tzz@lifelogs.com, 33780@debbugs.gnu.org
Subject: bug#33780: network-stream.el: network-stream-certificate always returns nil
Date: Mon, 14 Jan 2019 20:51:49 +0200	[thread overview]
Message-ID: <837ef7dqd6.fsf@gnu.org> (raw)
In-Reply-To: <m25zur16j8.fsf@gmail.com> (message from Robert Pluim on Mon, 14 Jan 2019 18:40:59 +0100)

> From: Robert Pluim <rpluim@gmail.com>
> Cc: darael@dracon.is,  tzz@lifelogs.com,  33780@debbugs.gnu.org
> Date: Mon, 14 Jan 2019 18:40:59 +0100
> 
> > I don't think I understood why nsm gets called only in the ":nowait t"
> > case.  What did I miss?
> 
> process.c has:
> 
> #ifdef HAVE_GNUTLS
> static void
> finish_after_tls_connection (Lisp_Object proc)
> {
>   struct Lisp_Process *p = XPROCESS (proc);
>   Lisp_Object contact = p->childp;
>   Lisp_Object result = Qt;
> 
>   if (!NILP (Ffboundp (Qnsm_verify_connection)))
>     result = call3 (Qnsm_verify_connection,
> 		    proc,
> 		    Fplist_get (contact, QChost),
> 		    Fplist_get (contact, QCservice));
> 
> so loading nsm.el causes nsm-verify-connection to get called in the
> ':nowait t' case. Presumably in the ':nowait nil' case gnutls-boot has
> already completed the tls connection, and finish_after_tls_connection
> never gets called (thatʼs speculation on my part). I donʼt know the
> GnuTLS code well enough to know if this is a bug. Ted?

Ah, okay.  No, I don't think this is a bug.  So use some way to get
nsm to approve the connection.





  reply	other threads:[~2019-01-14 18:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17 19:02 bug#33780: network-stream.el: network-stream-certificate always returns nil Vinothan Shankar
2018-12-19 17:19 ` Robert Pluim
2018-12-20 11:24   ` Vinothan Shankar
2018-12-20 18:45     ` Robert Pluim
2018-12-21 13:16       ` Robert Pluim
2019-01-09 10:48         ` Robert Pluim
2019-01-12 11:13           ` Eli Zaretskii
2019-01-14 13:27             ` Robert Pluim
2019-01-14 16:00               ` Eli Zaretskii
2019-01-14 16:25                 ` Robert Pluim
2019-01-14 16:45                   ` Eli Zaretskii
2019-01-14 17:40                     ` Robert Pluim
2019-01-14 18:51                       ` Eli Zaretskii [this message]
2019-01-15 20:31                         ` Robert Pluim
2019-01-24 10:40                           ` Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837ef7dqd6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=33780@debbugs.gnu.org \
    --cc=darael@dracon.is \
    --cc=rpluim@gmail.com \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.