librasn / rasn

A Safe #[no_std] ASN.1 Codec Framework
Other
183 stars 43 forks source link

fix(der): sort SET OF items #220

Closed 6d7a closed 5 months ago

6d7a commented 5 months ago

Closes #218

SET OF items need to be encoded in ascending order, comparing the encoded values as octet strings. This PR adds the corresponding sorting logic and a test to assure proper sorting.

XAMPPRocky commented 5 months ago

Thank you for your PR!