gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make distcheck failure in gnutls-guile 'ERROR: no code for module (g


From: Ludovic Courtès
Subject: Re: make distcheck failure in gnutls-guile 'ERROR: no code for module (gnutls)'
Date: Fri, 20 Jan 2012 22:57:54 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Hello,

Simon Josefsson <address@hidden> skribis:

> guile> (let ((s (make-session connection-end/server)))
> (handshake s))
>
> Backtrace:
> In standard input:
>   11: 0* (let* ((s (make-session connection-end/server))) (handshake s))
>   12: 1  [handshake #<session 7f74e209aaa0>]
>
> standard input:12:1: In procedure handshake in expression (handshake s):
> standard input:12:1: unhandled-exception: gnutls-error #f handshake
> ABORT: (misc-error)

Ooh, here ERR is #f, instead of being an error value.  That’s presumably
because gnutls_handshake returned an error value that the GnuTLS
bindings don’t know about (see comment in ‘guile/src/errors.c’.)

Commit 1c59226bb239aa563d02b6ea8ed285de006e3b31 updates the list of
error codes known to the Guile bindings, which solves the problem.

The proper solution would be to automatically extract the list of error
codes from gnutls.h.in, but I felt too busy today.  :-)

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]