gnutls-devel
[Top][All Lists]
Advanced

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

Re: guile self-tests fail in v.2.5?


From: Simon Josefsson
Subject: Re: guile self-tests fail in v.2.5?
Date: Wed, 02 Jul 2008 18:42:53 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> address@hidden (Ludovic Courtès) writes:
>
>> Simon Josefsson <address@hidden> 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

Eh, I meant of course:

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

/Simon

> 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




reply via email to

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