09-22-2009, 07:53 AM
The login challenge can include an error message if the request fails. Only those structures that include text will have those extra bits at the end, but in some cases the string is empty, in which case you have an empty length. So if the c1Error field of the login challenge is set, there's a string at the end with the error message, else it's the empty one.
The exception is indeed a set of length/text pairs at the end. So it will generally require a special decoding method, where's almost everything else has no text or one piece of text and can be handled by a single method.
On the Blowfish blocks, Blowfish implementations assume big endian format, so on little endian platforms, you have to flip them before processing.
I'll take care of those errata in the docs, thanks for pointing them out.
The exception is indeed a set of length/text pairs at the end. So it will generally require a special decoding method, where's almost everything else has no text or one piece of text and can be handled by a single method.
On the Blowfish blocks, Blowfish implementations assume big endian format, so on little endian platforms, you have to flip them before processing.
I'll take care of those errata in the docs, thanks for pointing them out.
Dean Roddey
Explorans limites defectum
Explorans limites defectum