From aca52d2a51b36e903bb0035373f30b032589370e Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Fri, 26 Jan 2018 12:38:49 +0000 Subject: [PATCH] bouncycastle 1.59 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822285 13f79535-47bb-0310-9956-ffa450edef68 --- .classpath | 4 +-- build.gradle | 4 +-- build.xml | 26 +++++++++---------- sonar/ooxml/pom.xml | 4 +-- .../poi/poifs/crypt/dsig/SignatureInfo.java | 2 +- 5 files changed, 19 insertions(+), 21 deletions(-) diff --git a/.classpath b/.classpath index 54aafe080..04c931991 100644 --- a/.classpath +++ b/.classpath @@ -28,8 +28,8 @@ - - + + diff --git a/build.gradle b/build.gradle index 0af981841..e209e7a54 100644 --- a/build.gradle +++ b/build.gradle @@ -199,7 +199,7 @@ project('ooxml') { compile 'org.apache.commons:commons-collections4:4.1' compile 'org.apache.commons:commons-math3:3.6.1' compile 'org.apache.santuario:xmlsec:2.1.0' - compile 'org.bouncycastle:bcpkix-jdk15on:1.58' + compile 'org.bouncycastle:bcpkix-jdk15on:1.59' compile 'com.github.virtuald:curvesapi:1.05' // for ooxml-lite, should we move this somewhere else? @@ -216,7 +216,7 @@ project('ooxml') { testCompile 'org.openjdk.jmh:jmh-generator-annprocess:1.19' } - // TOOD: we should not duplicate this task in each project, but I did not figure out how to inject the artifactId for each project + // TODO: we should not duplicate this task in each project, but I did not figure out how to inject the artifactId for each project task japicmp(type: me.champeau.gradle.ArtifactJapicmpTask, dependsOn: jar) { baseline = 'org.apache.poi:poi-ooxml:' + japicmpversion + '@jar' to = jar.archivePath diff --git a/build.xml b/build.xml index 230fb17ba..f50b9b957 100644 --- a/build.xml +++ b/build.xml @@ -178,10 +178,10 @@ under the License. - - - - + + + + @@ -253,10 +253,10 @@ under the License. - - - - + + + + @@ -600,12 +600,10 @@ under the License. - - - - - - + + + + diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml index 65745528a..0e0b79784 100644 --- a/sonar/ooxml/pom.xml +++ b/sonar/ooxml/pom.xml @@ -137,12 +137,12 @@ org.bouncycastle bcpkix-jdk15on - 1.54 + 1.59 org.bouncycastle bcprov-jdk15on - 1.58 + 1.59 org.apache.santuario diff --git a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java index f150d1046..9ea110470 100644 --- a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java +++ b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java @@ -163,7 +163,7 @@ import org.xml.sax.SAXException; *

To use SignatureInfo and its sibling classes, you'll need to have the following libs * in the classpath:

*
    - *
  • BouncyCastle bcpkix and bcprov (tested against 1.58)
  • + *
  • BouncyCastle bcpkix and bcprov (tested against 1.59)
  • *
  • Apache Santuario "xmlsec" (tested against 2.1.0)
  • *
  • and slf4j-api (tested against 1.7.25)
  • *