[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnutls-dev] gnutls 1.7.17 and greater do not work with mutt anymore
From: |
Andreas Metzler |
Subject: |
[gnutls-dev] gnutls 1.7.17 and greater do not work with mutt anymore |
Date: |
Sun, 26 Aug 2007 16:52:45 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hello,
This is <http://bugs.debian.org/439640>.
gnutls 1.7.17 broke mutt's usage of Gnutls. It is easy to reproduce,
just use
mutt -R -f imaps://imap.gmx.net/INBOX
and choose accept (o)nce on the Certificate check.
The patch below seems to have *triggered* it, reverting it makes
1.7.1[78] work. The 1mio$question is probably what causes an unknown
error (code seems to be 21) in the first place.
2007-08-10 Simon Josefsson <address@hidden>
* lib/gnutls_errors.c: (gnutls_error_is_fatal): Return default is 1 for
unknown error codes.
---------------------------
--- gnutls-1.7.16/lib/gnutls_errors.c 2007-05-25 15:04:22.000000000 +0200
+++ gnutls-1.7.17/lib/gnutls_errors.c 2007-08-10 15:51:07.000000000 +0200
@@ -269,7 +269,7 @@
int
gnutls_error_is_fatal (int error)
{
- int ret = 0;
+ int ret = 1;
GNUTLS_ERROR_ALG_LOOP (ret = p->fatal);
return ret;
---------------------------
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'
signature.asc
Description: Digital signature
- [gnutls-dev] gnutls 1.7.17 and greater do not work with mutt anymore,
Andreas Metzler <=