You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2020/09/13 19:38:00 UTC
[jmeter] branch master updated: CertificateException is a
superclass of CertificateEncodingException
This is an automated email from the ASF dual-hosted git repository.
fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new ab62d0f CertificateException is a superclass of CertificateEncodingException
ab62d0f is described below
commit ab62d0f6ae0ea466b42badb86620187250f0625e
Author: Felix Schumacher <fe...@internetallee.de>
AuthorDate: Sun Sep 13 21:37:38 2020 +0200
CertificateException is a superclass of CertificateEncodingException
---
.../src/main/java/org/apache/jmeter/assertions/SMIMEAssertion.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/src/main/java/org/apache/jmeter/assertions/SMIMEAssertion.java b/src/components/src/main/java/org/apache/jmeter/assertions/SMIMEAssertion.java
index aeebd67..e0b97e2 100644
--- a/src/components/src/main/java/org/apache/jmeter/assertions/SMIMEAssertion.java
+++ b/src/components/src/main/java/org/apache/jmeter/assertions/SMIMEAssertion.java
@@ -222,7 +222,7 @@ class SMIMEAssertion {
}
private static void checkSignerByFile(SMIMEAssertionTestElement testElement, AssertionResult res,
- X509CertificateHolder cert) throws CertificateException, CertificateEncodingException {
+ X509CertificateHolder cert) throws CertificateException {
CertificateFactory cf = CertificateFactory
.getInstance("X.509");
try (InputStream fis = new FileInputStream(testElement.getSignerCertFile());