[jakarta-jmeter] 20/60: Added the missing patch

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Mar 29 22:43:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository jakarta-jmeter.

commit 3e3df0e4eab298569fb50978ca1569a7d90a206b
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Apr 4 06:14:07 2013 +0000

    Added the missing patch
---
 debian/patches/03_bouncycastle_update.patch | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/debian/patches/03_bouncycastle_update.patch b/debian/patches/03_bouncycastle_update.patch
new file mode 100644
index 0000000..a118908
--- /dev/null
+++ b/debian/patches/03_bouncycastle_update.patch
@@ -0,0 +1,24 @@
+Description: Update to compile against the latest versions of Bouncy Castle
+Author: Emmanuel Bourg <ebourg at 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jakarta-jmeter.git



More information about the pkg-java-commits mailing list