guile self-tests fail in v.2.5?

Simon Josefsson 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[3]: 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[3]: *** [check-TESTS] Interrupt
>
> This is `anonymous-auth.scm': `gnutls_handshake ()' returns
> `GNUTLS_E_DH_PRIME_UNACCEPTABLE' (whose error message is displayed
> above).
>
> 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:

http://git.savannah.gnu.org/gitweb/?p=gnutls.git;a=commitdiff;h=bc11d56f6461ff0a2afcae7f864bed54a7b337c1

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...

Thanks,
Simon





More information about the Gnutls-devel mailing list