[squid-dev] [PATCH] received_encrypted ACL

Alex Rousskov rousskov at measurement-factory.com
Thu Jul 23 23:21:06 UTC 2015


On 07/23/2015 01:41 PM, Tsantilas Christos wrote:
> On 07/23/2015 07:21 PM, Alex Rousskov wrote:
>> Furthermore, the values of "unsafe" srcX enum constants should be
>> increased to actually match the srcUnsafe mask (16 is still smaller than
>> 0xFFFF).

> This is should be OK.
> The safe flags are from:
>  (1 << (16 + 0)) = (1 << (16 + 0)) & 0xFFFF0000
> to:
>   (1 << (16 + 15)) = (1 << (16 + 15)) & 0xFFFF0000

You are right. I missed the shift operator!

Alex.



More information about the squid-dev mailing list