librasn / rasn

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

PER: fix encoding of empty extension values #278

Closed Nicceboy closed 1 week ago

Nicceboy commented 1 week ago

Related to the previous PR.

Actually this fixes all cases where encoding values would be empty in extensions, but the extension presence must be still part of the encoding.

XAMPPRocky commented 1 week ago

Thank you for your PR!