summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/itext/files/itext-5.5.4-OcspClientBouncyCastle.java.patch')
-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"));
+ }