samba4/source/libcli/util/asn1.c integer

Volker.Lendecke at SerNet.DE Volker.Lendecke at SerNet.DE
Tue Aug 31 07:53:09 GMT 2004


On Tue, Aug 31, 2004 at 09:47:14AM +0200, Love wrote:
> You still need to catch the - high bit is set and need to be padded with
> zero so it doesn't becomes negative - case, and your code doesn't negative
> values; here are some value for you to test (they include the INTEGER and
> length):

Thanks for being so patient.

I had already wondered why you explicitly mentioned 0-127. :-)

At least Ethereal likes my encoding of '129' in the MessageID field, so I had
thought I had got it right. I'll look into that more.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20040831/f1074642/attachment.bin


More information about the samba-technical mailing list