unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18664: Values for gnutls-verify-error produced by customize are not parsed correctly
@ 2014-10-08 15:07 Toke Høiland-Jørgensen
  2014-10-18  1:03 ` Ted Zlatanov
  0 siblings, 1 reply; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2014-10-08 15:07 UTC (permalink / raw)
  To: 18664

Using customize to set gnutls-verify-error, a doubly-nested list of
symbols ends up getting passed to gnutls-boot, which then subsequently
fails all the membership tests on it. This seems to stem from the fact
that customize produces list entries of the form '((".*" (:hostname))) while
gnutls-negotiate passes the cdr of each matched entry to cl-mapcan.

Found this while testing in trunk.

-Toke





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#18664: Values for gnutls-verify-error produced by customize are not parsed correctly
  2014-10-08 15:07 bug#18664: Values for gnutls-verify-error produced by customize are not parsed correctly Toke Høiland-Jørgensen
@ 2014-10-18  1:03 ` Ted Zlatanov
  2014-10-24  0:03   ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 4+ messages in thread
From: Ted Zlatanov @ 2014-10-18  1:03 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: 18664

On Wed, 08 Oct 2014 17:07:21 +0200 Toke Høiland-Jørgensen <toke@toke.dk> wrote: 

TH> Using customize to set gnutls-verify-error, a doubly-nested list of
TH> symbols ends up getting passed to gnutls-boot, which then subsequently
TH> fails all the membership tests on it. This seems to stem from the fact
TH> that customize produces list entries of the form '((".*" (:hostname))) while
TH> gnutls-negotiate passes the cdr of each matched entry to cl-mapcan.

Thanks for the report.  I believe it's fixed with the commit below; can
you please test?

Thanks
Ted

------------------------------------------------------------
revno: 118145
committer: Ted Zlatanov <tzz@lifelogs.com>
branch nick: quickfixes
timestamp: Fri 2014-10-17 21:02:30 -0400
message:
  net/gnutls.el: pass correct data to `gnutls-boot'.
  
  * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
  correct data to `gnutls-boot'.
  Reported by Toke Høiland-Jørgensen <toke@toke.dk>.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#18664: Values for gnutls-verify-error produced by customize are not parsed correctly
  2014-10-18  1:03 ` Ted Zlatanov
@ 2014-10-24  0:03   ` Toke Høiland-Jørgensen
  2014-10-24 13:44     ` Ted Zlatanov
  0 siblings, 1 reply; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2014-10-24  0:03 UTC (permalink / raw)
  To: 18664

Ted Zlatanov <tzz@lifelogs.com> writes:

> Thanks for the report. I believe it's fixed with the commit below; can
> you please test?

Yep, this seems to fix it. Thanks! :)

-Toke





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#18664: Values for gnutls-verify-error produced by customize are not parsed correctly
  2014-10-24  0:03   ` Toke Høiland-Jørgensen
@ 2014-10-24 13:44     ` Ted Zlatanov
  0 siblings, 0 replies; 4+ messages in thread
From: Ted Zlatanov @ 2014-10-24 13:44 UTC (permalink / raw)
  To: Toke Høiland-Jørgensen; +Cc: 18664-done

On Thu, 23 Oct 2014 17:03:13 -0700 Toke Høiland-Jørgensen <toke@toke.dk> wrote: 

TH> Ted Zlatanov <tzz@lifelogs.com> writes:
>> Thanks for the report. I believe it's fixed with the commit below; can
>> you please test?

TH> Yep, this seems to fix it. Thanks! :)

All right, marking as done.  Thank you for the help.

(I haven't forgotten about the TOFU patch, sorry for the delay :)

Ted





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-24 13:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-08 15:07 bug#18664: Values for gnutls-verify-error produced by customize are not parsed correctly Toke Høiland-Jørgensen
2014-10-18  1:03 ` Ted Zlatanov
2014-10-24  0:03   ` Toke Høiland-Jørgensen
2014-10-24 13:44     ` Ted Zlatanov

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).