Re: NTLM patch for Squid on Solaris 8 SPARC / Big Endian

From: <hno@dont-contact.us>
Date: Sun, 28 Oct 2001 08:39:21 +0100

Robert Collins wrote:

> I'll generate something based on this. The type for instance shouldn't
> be wrong, as IIRC that is part of the base64 encoded auth header, so
> it's being wrong indicates something seriously out of kilter elsewhere.

Data being base64 encoded does not make it endiannness safe. base64 is
only a method for encoding binary octets as ascii. So if the type is
stored as something bigger than one octet in the base64 data then you
must translate it from "Microsoft byte order" to "Host byte order", or
make the acceptable values to be in "Microsoft byte order".

Regards
Henrik
Received on Sun Oct 28 2001 - 00:38:56 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:35 MST