]> git.ipfire.org Git - thirdparty/strongswan.git/commit
pkcs7: Order DER encoded attributes
authorTobias Brunner <tobias@strongswan.org>
Fri, 9 Oct 2020 15:42:08 +0000 (17:42 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 27 Oct 2020 10:21:09 +0000 (11:21 +0100)
commitc5baa4cbd69c20d00505c7f511ace0b4ab063f60
tree9aa4ab434d2248c7636db86075d4a943941129dd
parent30d47ea4cb3c7f1cf7b0217095db3beea3c54fa6
pkcs7: Order DER encoded attributes

The attributes are encoded as a SET OF, which means that in DER encoding
the encoded attributes have to be ordered lexicographically.

Fixes #3589.
src/libstrongswan/plugins/pkcs7/pkcs7_attributes.c