[gnutls-dev] gnutls 1.7.17 and greater do not work with mutt anymore
Simon Josefsson
simon at josefsson.org
Mon Aug 27 12:30:43 CEST 2007
Andreas Metzler <ametzler at downhill.at.eu.org> writes:
> 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.
Thanks for investigating, I'll see if I can reproduce it and debug it
further later today.
/Simon
> 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'
> _______________________________________________
> Gnutls-dev mailing list
> Gnutls-dev at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnutls-dev
More information about the Gnutls-devel
mailing list