Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Convert-ASN1 CPAN distribution.

Report information
The Basics
Id: 52094
Status: resolved
Priority: 0/
Queue: Convert-ASN1

People
Owner: Nobody in particular
Requestors: markus [...] wernig.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: bug-Convert-ASN1 [...] rt.cpan.org
Subject: Re: ASN.1 encoding of integers > 0x7FFFFFFF
Date: Thu, 26 Nov 2009 17:29:03 +0100
To: Graham Barr <gbarr [...] pobox.com>
From: Markus Wernig <markus [...] wernig.net>
Hello Graham Graham Barr wrote: Show quoted text
> How does it contradict? that states that the left most 9 bits cannot all be the same
Yes, you are right. I had misinterpreted the statement. Show quoted text
> basically the left most bit denotes sign, 0xDEADBEEF is unsigned but 0204DEADBEEF is a negative number because the left most bit is 1
But is this not up to the receiving application to decide? What if the sender really intends to send the number -559038737? By encoding it as 0205DEADBEEF the value is changed in transition. thanks for your help Markus
Download smime.p7s
application/x-pkcs7-signature 5.4k

Message body not shown because it is not plain text.