Re: [PATCH] cert validation cache

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Tue, 11 Dec 2012 09:02:17 -0700

On 12/11/2012 03:50 AM, Amos Jeffries wrote:
> On 11/12/2012 9:19 p.m., Tsantilas Christos wrote:
>> If there is not any objection I will apply the latest "cert validation
>> cache" patch to trunk.

> This patch is also threaded with "#if 1 // USE_SSL_CERT_VALIDATOR" just
> like the other one and will need re-testing without it.

I think we should either use proper USE_SSL_CERT_VALIDATOR conditional
or make this code unconditional. Iff nobody has strong opinions about
it, I suggest making this code unconditional (no #ifs).

The certificate validator is not enabled by default and the extra code
does not add a lot of performance overhead, does it?

The only reason I can see for making this code conditional is to be able
to disable it if this patch breaks current built-in validator somehow
(even when the optional validation helper is disabled). However, perhaps
it is better to learn about such bugs sooner because they will bite us
anyway.

Any other reasons for disabling this code (and not just the feature)?

Thank you,

Alex.
Received on Tue Dec 11 2012 - 16:02:31 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 12 2012 - 12:00:10 MST