guile self-tests fail in v.2.5?
simon at josefsson.org
Wed Jul 2 18:16:27 CEST 2008
ludo at gnu.org (Ludovic Courtès) writes:
> Simon Josefsson <simon at josefsson.org> writes:
>> On the master trunk there has been some heavy internal changes recently,
>> but no incompatible API changes as far as I understand, and now the
>> guile self-tests fails:
>> make: Entering directory `/home/jas/src/gnutls/guile/tests'
>> guile: uncaught throw to gnutls-error: (#<gnutls-error-enum The Diffie Hellman prime sent by the server is not acceptable (not long enough).> handshake)
>> make: *** [check-TESTS] Interrupt
> This is `anonymous-auth.scm': `gnutls_handshake ()' returns
> `GNUTLS_E_DH_PRIME_UNACCEPTABLE' (whose error message is displayed
> Adding debugging output (which involves uncommenting the
> `set-log-level!' and `set-log-procedure!' calls at the top of the file)
> shows that the error is returned past `auth_dh_common.c:289'.
Thanks, that allowed me to track down the problem. It was a silly typo
in the dh generation code:
Just getting the gnutls debug log is often sufficient to solve problems
like this. I know how to do that for the guile code now...
More information about the Gnutls-devel