[gnutls-dev] gnutls 1.7.17 and greater do not work with mutt anymore

Andreas Metzler ametzler at downhill.at.eu.org
Sun Aug 26 16:52:45 CEST 2007


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 <simon at josefsson.org>

   * 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'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: </pipermail/attachments/20070826/1e48a23e/attachment.pgp>


More information about the Gnutls-devel mailing list