gnutls-devel
[Top][All Lists]
Advanced

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

Re: internals_st::send_cert_req too small


From: Nikos Mavrogiannopoulos
Subject: Re: internals_st::send_cert_req too small
Date: Tue, 17 Sep 2013 00:16:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7

On 09/15/2013 06:04 PM, Nicolai Stange wrote:
> Hi all,
> 
> in `gnutls_int.h', we have
> --8<---------------cut here---------------start------------->8---
> unsigned send_cert_req:1;
> --8<---------------cut here---------------end--------------->8---
> i.e. its one single bit wide.
> 
> According to the definition of `gnutls_certificate_request_t' in
> `gnutls.h', `send_cert_req' must be big enough to hold the the
> enumerated values 0, 1 and 2.
> 
> On my platform (x86_64), gcc generates code that will silently set
> `send_cert_req' to zero if `gnutls_certificate_server_set_request()'
> is invoked with a req-value of `GNUTLS_CERT_REQUIRE' (== 2).
> This results in clients not sending any certificate at all.

Hello Nicolai,
 Thank you for reporting that. This issue was fixed in the latest
release (3.2.4).

regards,
Nikos




reply via email to

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