Re: /bzr/squid3/trunk/ r11122: Report ERR_SECURE_CONNECT_FAIL details to the user via a new error detail API.

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Tue, 14 Dec 2010 14:37:14 +0200

On 12/14/2010 01:20 PM, Amos Jeffries wrote:
> On 14/12/10 12:02, Christos Tsantilas wrote:
>> === added file 'src/ssl/ErrorDetail.h'
>> --- a/src/ssl/ErrorDetail.h 1970-01-01 00:00:00 +0000
>> +++ b/src/ssl/ErrorDetail.h 2010-12-13 23:02:52 +0000
>> @@ -0,0 +1,74 @@
>> +#ifndef _SQUID_SSL_ERROR_DETAIL_H
>> +#define _SQUID_SSL_ERROR_DETAIL_H
> <snip>
>> +
>> +namespace Ssl
>> +{
>> + /// Squid defined error code (<0), an error code returned by SSL
>> X509 api, or SSL_ERROR_NONE
>> + typedef int error_t;
>> +
>
> Many of the build slaves are breaking on this typedef...
> "redefinition of predefined type 'int' "
>
> Which I take to mean error_t is already defined in the global scope and
> shadowed here. Can this be fixed asap please?

I just commit a fix. I hope it is OK.

>
> Amos
Received on Tue Dec 14 2010 - 12:37:24 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 15 2010 - 12:00:06 MST