----- Original Message -----
From: "Joe Cooper" <joe@swelltech.com>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <squid-dev@squid-cache.org>
Sent: Friday, December 28, 2001 10:37 PM
Subject: Re: MD5 hash query
> I see...I'm definitely missing the Method->enum conversion. So will
try
> that. Should that be octal or does it matter? METHOD_GET is shown as
> 001 in enums.h, but I thought an enum as defined there would put it
> simply at 1. I'll just try it. ;-)
>
> I was looking at storeKeyPublic...you're looking at storeKeyPrivate.
> Should I be looking at Private? If so, it looks like Squid can also
Whoops! Whatever one gets committed to disk, which I have never tracked
through :}.
As for the method conversion: it gets fed into the MD5 in binary, so you
need to feed the binary value in. (ie if size(method)==4, and GET is 1,
then the result will be 0x00000001 - but don't forget to adjust for your
endianness.
Rob
Received on Fri Dec 28 2001 - 04:42:41 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:42 MST