dev-java/itext: Adjust classpath and remove unexisting class with a patch. Fixes bug 557114.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Patrice Clement
2015-08-11 11:30:48 +00:00
parent 339e1f7fa1
commit c877f88cd6
2 changed files with 71 additions and 0 deletions
@@ -0,0 +1,15 @@
--- source/com/itextpdf/text/pdf/security/OcspClientBouncyCastle.java.orig 2015-08-11 10:52:11.031000000 +0000
+++ source/com/itextpdf/text/pdf/security/OcspClientBouncyCastle.java 2015-08-11 10:52:39.070000000 +0000
@@ -183,9 +183,9 @@
if (status == CertificateStatus.GOOD) {
return basicResponse.getEncoded();
}
- else if (status instanceof org.bouncycastle.ocsp.RevokedStatus) {
- throw new IOException(MessageLocalization.getComposedMessage("ocsp.status.is.revoked"));
- }
+ //else if (status instanceof org.bouncycastle.ocsp.RevokedStatus) {
+ // throw new IOException(MessageLocalization.getComposedMessage("ocsp.status.is.revoked"));
+ //}
else {
throw new IOException(MessageLocalization.getComposedMessage("ocsp.status.is.unknown"));
}