GNU bug report logs -
#10060
24.0.91; Built-in GNUtls err=-64 error
Previous Next
Reported by: nyc4bos <at> aol.com
Date: Wed, 16 Nov 2011 02:51:01 UTC
Severity: normal
Found in version 24.0.91
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Tue, 15 Nov 2011 21:48:31 -0500 nyc4bos <at> aol.com wrote:
n> When using an intentionally incorrect PEM file, Emacs gives the following
n> *Backtrace* (see below).
n> The *Message* buffer has:
n> Starting GNUTLS
n> gnutls.el: (err=[-64] Error while reading file.) boot: (:priority NORMAL :hostname imap.aim.com :loglevel 0 :min-prime-bits nil :trustfiles (AOL.pem) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :verify-hostname-error t :callbacks nil)
n> Entering debugger...
n> Can the built-in GNUtls give a more graceful error message, if possible,
n> for a "err=[-64] error?
n> Thanks.
n> Diagnostic information follows:
n> Debugger entered--Lisp error: (gnutls-error #<process tls> -64)
n> signal(gnutls-error (#<process tls> -64))
I'm not sure that should be the library's job. IOW, the error is really
what GnuTLS tells us, and the text is a bonus that can be easily
obtained with `gnutls-error-string' (I assume end users don't run GnuTLS
functions directly, so it's reasonable to ask code that uses gnutls.el
to make that effort). If you disagree, tell me how the error should be
bubbled back to the code that invoked it, and how we should embellish
GnuTLS error messages in general (there are hundreds).
Thanks
Ted
This bug report was last modified 13 years and 116 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.