summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-08-11 11:30:11 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-08-11 11:30:48 +0000
commitc877f88cd66bad51839b501ea79e7fac892a85a7 (patch)
treee496fa3fe34a2984e5f1ba9d90e8fafce8cc12ae /dev-java/itext/files
parentapp-text/qpdfview: update mupdf dependency. (diff)
downloadgentoo-c877f88cd66bad51839b501ea79e7fac892a85a7.tar.gz
gentoo-c877f88cd66bad51839b501ea79e7fac892a85a7.tar.bz2
gentoo-c877f88cd66bad51839b501ea79e7fac892a85a7.zip
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>
Diffstat (limited to 'dev-java/itext/files')
-rw-r--r--dev-java/itext/files/itext-5.5.4-OcspClientBouncyCastle.java.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-java/itext/files/itext-5.5.4-OcspClientBouncyCastle.java.patch b/dev-java/itext/files/itext-5.5.4-OcspClientBouncyCastle.java.patch
new file mode 100644
index 000000000000..409ea87aa2bd
--- /dev/null
+++ b/dev-java/itext/files/itext-5.5.4-OcspClientBouncyCastle.java.patch
@@ -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"));
+ }