[Git][java-team/libapache-poi-java][master] 2 commits: Add patch for BouncyCastle 1.77 (Closes: #1057167)
Tony Mancill (@tmancill)
gitlab at salsa.debian.org
Wed Dec 13 21:17:22 GMT 2023
Tony Mancill pushed to branch master at Debian Java Maintainers / libapache-poi-java
Commits:
42f8d757 by tony mancill at 2023-12-13T12:36:56-08:00
Add patch for BouncyCastle 1.77 (Closes: #1057167)
- - - - -
c2bde22d by tony mancill at 2023-12-13T12:37:12-08:00
interim changelog entry
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/16_bouncycastle-1.77.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,5 +1,6 @@
libapache-poi-java (4.0.1-5) UNRELEASED; urgency=medium
+ [ Pierre Gruet ]
* Team upload
* Providing classpaths of build jars in debian/libapache-poi-java.classpath
(Closes: #1012079)
@@ -9,8 +10,12 @@ libapache-poi-java (4.0.1-5) UNRELEASED; urgency=medium
* Trim trailing whitespace.
* Raising debian/watch format from 3 to 4.
* Adding missing dependencies to the binary package
+ * Apply multi-arch hints. + libapache-poi-java-doc: Add Multi-Arch: foreign.
- -- Pierre Gruet <pgt at debian.org> Mon, 30 May 2022 20:35:42 +0200
+ [ tony mancill ]
+ * Add patch for BouncyCastle 1.77 (Closes: #1057167)
+
+ -- tony mancill <tmancill at debian.org> Wed, 13 Dec 2023 12:37:01 -0800
libapache-poi-java (4.0.1-4) unstable; urgency=medium
=====================================
debian/patches/16_bouncycastle-1.77.patch
=====================================
@@ -0,0 +1,21 @@
+Description: adapt for BouncyCastle 1.77
+Author: tony mancill <tmancill at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057167
+Forwarded: no
+
+--- a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java
++++ b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/facets/XAdESXLSignatureFacet.java
+@@ -232,11 +232,11 @@
+ ResponderID ocspResponderId = respId.toASN1Primitive();
+ DERTaggedObject derTaggedObject = (DERTaggedObject)ocspResponderId.toASN1Primitive();
+ if (2 == derTaggedObject.getTagNo()) {
+- ASN1OctetString keyHashOctetString = (ASN1OctetString)derTaggedObject.getObject();
++ ASN1OctetString keyHashOctetString = (ASN1OctetString)derTaggedObject.getBaseObject();
+ byte key[] = keyHashOctetString.getOctets();
+ responderId.setByKey(key);
+ } else {
+- X500Name name = X500Name.getInstance(derTaggedObject.getObject());
++ X500Name name = X500Name.getInstance(derTaggedObject.getBaseObject());
+ String nameStr = name.toString();
+ responderId.setByName(nameStr);
+ }
=====================================
debian/patches/series
=====================================
@@ -9,3 +9,4 @@ bug-62996.patch
13_rhino-script-engine.patch
14_language-level.patch
15_xmlbeans-compatibility.patch
+16_bouncycastle-1.77.patch
View it on GitLab: https://salsa.debian.org/java-team/libapache-poi-java/-/compare/68a868e369283cce9e910f1aa551827e1855456b...c2bde22d48b15f729584ec360dfb09c30302d6c8
--
View it on GitLab: https://salsa.debian.org/java-team/libapache-poi-java/-/compare/68a868e369283cce9e910f1aa551827e1855456b...c2bde22d48b15f729584ec360dfb09c30302d6c8
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20231213/261fedaa/attachment.htm>
More information about the pkg-java-commits
mailing list