Author: ebourg-guest Date: 2013-04-04 06:14:07 +0000 (Thu, 04 Apr 2013) New Revision: 16484
Added: trunk/jakarta-jmeter/debian/patches/03_bouncycastle_update.patch Log: Added the missing patch Added: trunk/jakarta-jmeter/debian/patches/03_bouncycastle_update.patch =================================================================== --- trunk/jakarta-jmeter/debian/patches/03_bouncycastle_update.patch (rev 0) +++ trunk/jakarta-jmeter/debian/patches/03_bouncycastle_update.patch 2013-04-04 06:14:07 UTC (rev 16484) @@ -0,0 +1,24 @@ +Description: Update to compile against the latest versions of Bouncy Castle +Author: Emmanuel Bourg <ebo...@apache.org> +Origin: vendor +Forwarded: yes +Bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=54776 +--- a/src/components/org/apache/jmeter/assertions/SMIMEAssertion.java ++++ b/src/components/org/apache/jmeter/assertions/SMIMEAssertion.java +@@ -48,6 +48,7 @@ + import org.bouncycastle.cms.CMSException; + import org.bouncycastle.cms.SignerInformation; + import org.bouncycastle.cms.SignerInformationStore; ++import org.bouncycastle.cms.jcajce.JcaX509CertSelectorConverter; + import org.bouncycastle.jce.PrincipalUtil; + import org.bouncycastle.jce.X509Principal; + import org.bouncycastle.jce.provider.BouncyCastleProvider; +@@ -148,7 +149,7 @@ + if (signerIt.hasNext()) { + + SignerInformation signer = (SignerInformation) signerIt.next(); +- Iterator<?> certIt = certs.getCertificates(signer.getSID()).iterator(); ++ Iterator<?> certIt = certs.getCertificates(new JcaX509CertSelectorConverter().getCertSelector(signer.getSID())).iterator(); + + if (certIt.hasNext()) { + // the signer certificate _______________________________________________ pkg-java-commits mailing list pkg-java-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits