help-libtasn1
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] Make _asn1_ordering_set_of() really sort.


From: Kurt Roeckx
Subject: Re: [PATCH 1/3] Make _asn1_ordering_set_of() really sort.
Date: Sun, 27 Apr 2014 17:57:15 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Sun, Apr 27, 2014 at 05:53:03PM +0200, Nikos Mavrogiannopoulos wrote:
> On Sat, 2014-04-26 at 18:15 +0200, Kurt Roeckx wrote:
> > So I can't see how the old code really sorted like it's supposed
> > to.  We're probably lacking a test case that checks the result of
> > the coding is really what we produced.  But this seems more likely
> > to actually produce the expected output.
> 
> Do you have some example of a SET OF structure that is correctly sorted?
> We can then have a test that decodes it and re-encodes it to verify the
> new code.

Test_tree loads one that is not correctly sorted, encodes it as
DER at which points it gets sorted and then decodes it again.  As
far as I can see that decoded version is correctly sorted.


Kurt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]