[pkg-lynx-maint] lynx and lynx-cur both FTBFS with GnuTLS 3.4.x (bug report sent, but not yet recorded) -> Upload of src:lynx to unstable ahead

Andreas Metzler ametzler at bebt.de
Sun Jan 24 17:11:08 UTC 2016


On 2016-01-24 Axel Beckert <abe at debian.org> wrote:
[...]
> You're welcome. I'd though be happy if you could have a short look at
> my code as I'm not sure if I got it right:

Let me try.

> https://anonscm.debian.org/cgit/pkg-lynx/lynx.git/tree/debian/patches/work-around-gnutls_protocol_set_priority-removal.patch?h=renaming-back

	gnutls_priority_set(ssl->gnutls_state, "VERS-TLS1.0!");

I think that should be gnutls_priority_set_direct instead,
gnutls_priority_set() would expect a gnutls_priority_t instead of a
string. Also the priority string should probably something like
NORMAL:-VERS-TLS1.0 if I understand the intention correctly.
("gnutls-cli -l --priority magic-priority-string" is quite helpful
here) so we'd end up with
gnutls_priority_set_direct(ssl->gnutls_state, "NORMAL:-VERS-TLS1.0", NULL)

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: work-around-gnutls_protocol_set_priority-removal.patch
Type: text/x-diff
Size: 1349 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lynx-maint/attachments/20160124/939e0d41/attachment.patch>


More information about the pkg-lynx-maint mailing list