pefile: Handle pesign using the wrong OID
authorVivek Goyal <vgoyal@redhat.com>
Tue, 8 Jul 2014 17:10:46 +0000 (18:10 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 9 Jul 2014 13:58:37 +0000 (14:58 +0100)
commitdd7d66f21b9eb6a3979d8c9ba910eba772cfbbc9
tree745a0854a9deecb94701975d0e8afb41c06538f9
parent4c0b4b1d1ae0cbc86f150e2905a1c3d2a17b7c1e
pefile: Handle pesign using the wrong OID

The pesign utility had a bug where it was using OID_msIndividualSPKeyPurpose
instead of OID_msPeImageDataObjId - so allow both OIDs.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
crypto/asymmetric_keys/mscode_parser.c