gnutls-devel
[Top][All Lists]
Advanced

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

gnutls-cli return codes [was: Re: confirmation that debian #480041 is a


From: Daniel Kahn Gillmor
Subject: gnutls-cli return codes [was: Re: confirmation that debian #480041 is a gnutls problem, and steps to reproduce]
Date: Fri, 21 Nov 2008 14:37:01 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

On Fri 2008-11-21 02:24:02 -0500, Nikos Mavrogiannopoulos wrote:

> Daniel Kahn Gillmor wrote:
>
>> *** Non fatal error: Rehandshake was requested by the peer.
>> *** Fatal error: A TLS fatal alert has been received.
>> *** Received alert [10]: Unexpected message
>> *** Server has terminated the connection abnormally.
>> ---------------------------------
>
> Hello, this does not seem to be a gnutls error. The server merely
> asks for renegotiation, gnutls-cli ignores it (legal behavior) and
> server does not like it thus sends a fatal alert.

It looks to me like gnutls-cli has a return code of 0 in this
situation.  Wouldn't it make more sense to exit with a non-zero return
code when the server has terminated the connection abnormally?

     --dkg

Attachment: pgpgRO5I9uveg.pgp
Description: PGP signature


reply via email to

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