File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
java/org/bouncycastle/cms/test
resources/org/bouncycastle/cms/test Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3250,7 +3250,14 @@ public AttributeTable getAttributes(Map parameters)
32503250 assertTrue (signerInfoGen .getUnsignedAttributeTableGenerator () == newSignerInfoGen .getUnsignedAttributeTableGenerator ());
32513251 assertTrue (newSignerInfoGen .getSignedAttributeTableGenerator () == signedAttrGen );
32523252 }
3253-
3253+
3254+ public void testEU ()
3255+ throws Exception
3256+ {
3257+ System .setProperty ("org.bouncycastle.asn1.allow_wrong_oid_enc" , "true" );
3258+ CMSSignedData cmsSignedData = new CMSSignedData (this .getInput ("bc1639test.p7m" ));
3259+ System .clearProperty ("org.bouncycastle.asn1.allow_wrong_oid_enc" );
3260+ }
32543261 public void testMSPKCS7 ()
32553262 throws Exception
32563263 {
You can’t perform that action at this time.
0 commit comments