[Git][java-team/bouncycastle][upstream] 2 commits: New upstream version 1.86.1

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Mon Oct 26 16:45:11 GMT 2026



Emmanuel Bourg pushed to branch upstream at Debian Java Maintainers / bouncycastle


Commits:
462ce19d by Emmanuel Bourg at 2026-10-26T16:38:19+01:00
New upstream version 1.86.1
- - - - -
69d881cf by Emmanuel Bourg at 2026-10-26T16:38:46+01:00
New upstream version 1.86.2
- - - - -


18 changed files:

- bc-build.properties
- bom/build.gradle
- build.gradle
- docs/releasenotes.md
- gradle.properties
- osgi_scan.xml
- pg/src/main/java/org/bouncycastle/bcpg/ArmoredOutputStream.java
- pg/src/main/jdk1.4/org/bouncycastle/bcpg/ArmoredOutputStream.java
- pg/src/test/java/org/bouncycastle/bcpg/test/BCPGOutputStreamTest.java
- pg/src/test/java/org/bouncycastle/openpgp/test/ECDSAKeyPairTest.java
- pg/src/test/java/org/bouncycastle/openpgp/test/PGPv6SignatureTest.java
- prov/src/main/java/org/bouncycastle/jce/provider/BouncyCastleProvider.java
- prov/src/main/java/org/bouncycastle/pqc/jcajce/provider/BouncyCastlePQCProvider.java
- prov/src/main/jdk1.1/org/bouncycastle/jce/provider/BouncyCastleProvider.java
- prov/src/main/jdk1.4/org/bouncycastle/jce/provider/BouncyCastleProvider.java
- tls-klog/build.gradle
- tls/build.gradle
- tls/src/main/jdk1.9/org/bouncycastle/jsse/provider/SSLEngineUtil.java


Changes:

=====================================
bc-build.properties
=====================================
@@ -3,9 +3,9 @@
 # intended to hold user-specific settings that are *not* committed to 
 # the repository.
 
-release.suffix: 1.86
-release.name: 1.86
-release.version: 1.86
+release.suffix: 1.86.2
+release.name: 1.86.2
+release.version: 1.86.2
 release.debug: false
 
 mail.jar.home: ./libs/javax.mail-1.4.7.jar


=====================================
bom/build.gradle
=====================================
@@ -4,16 +4,19 @@ plugins {
 }
 
 
+// 1.86.1 and 1.86.2 are point releases of bctls alone (github #2448, #2493): only the tls
+// constraint follows the project version, the other seven modules stay pinned at the 1.86
+// artifacts already published, as the 1.85.2 BOM did for its lone bcprov republish.
 dependencies {
     constraints {
-        api(project(":prov"))
-        api(project(":util"))
-        api(project(":pkix"))
-        api(project(":pg"))
+        api("org.bouncycastle:bcprov-$vmrange:1.86")
+        api("org.bouncycastle:bcutil-$vmrange:1.86")
+        api("org.bouncycastle:bcpkix-$vmrange:1.86")
+        api("org.bouncycastle:bcpg-$vmrange:1.86")
         api(project(":tls"))
-        api(project(":mls"))
-        api(project(":mail"))
-        api(project(":jmail"))
+        api("org.bouncycastle:bcmls-$vmrange:1.86")
+        api("org.bouncycastle:bcmail-$vmrange:1.86")
+        api("org.bouncycastle:bcjmail-$vmrange:1.86")
     }
 }
 


=====================================
build.gradle
=====================================
@@ -48,6 +48,10 @@ def String deriveOSGIVersion(String prjVersion) {
 ext {
     bundle_version = deriveOSGIVersion(version.toString());
 
+    // Floor for the org.bouncycastle Import-Package ranges of modules that can ship as a point release
+    // on their own (bctls): major.minor only, so bctls 1.86.2 resolves against the 1.86 bcprov/bcutil.
+    bundle_import_floor = bundle_version.tokenize('.').take(2).join('.');
+
     // Number of parallel test forks: half the available processors (at least 1). Each test JVM is
     // heavy (it re-runs the FIPS power-on self-tests on startup) and reserves a sizable heap, so
     // half-the-cores leaves headroom for per-fork memory and the gradle daemon / OS. Shared here


=====================================
docs/releasenotes.md
=====================================
@@ -10,11 +10,13 @@ The Bouncy Castle Crypto package is a Java implementation of cryptographic algor
 
 ### 2.1.1 Version
 
-Release: 1.86\
+Release: 1.86, 1.86.1, 1.86.2\
 Date: 2026, 11th September.
 
 ### 2.1.2 Defects Fixed
 
+- Release 1.86.1 generated for bctls and bctls-klog (Java 8 and later, standard and debug) to fix SSLContext.createSSLEngine() failing with NoSuchMethodError on every JDK from 9 up when the 1.86 bctls jar was used: the jdk1.9 copy of the package-private SSLEngineUtil declared create(ContextData) with a different return type from the root copy that the root ProvSSLContextSpi was compiled against, a mismatch exposed by the -implicit:none added to the java9 compile in 1.86. The jdk1.9 copy now declares the same return type. The other 1.86 jars are unchanged and the 1.86.1 BOM pins them at 1.86 (github #2448).
+- Release 1.86.2 generated for bctls and bctls-klog (Java 8 and later, standard and debug) because the 1.86.1 jars could not be resolved in an OSGi container: their Import-Package ranges for every org.bouncycastle package they use from bcprov and bcutil started at 1.86.1, the bundle's own version, but those bundles are only published at 1.86. The import floor is now the major.minor release, [1.86,1.87), and the 1.86.1 fix for SSLContext.createSSLEngine() is otherwise unchanged. The 1.86.2 BOM pins the other jars at 1.86 (github #2493).
 - The high-level OpenPGP API (org.bouncycastle.openpgp.api) let a subkey inherit the primary key's Key Flags when its own Subkey Binding signature carried no Key Flags subpacket, which made the two capability decisions taken for one subkey disagree. OpenPGPCertificate.OpenPGPComponentKey.isSigningKey() reads the effective flags, which fell back to the primary key's direct-key or primary user ID self-signature, so a subkey bound with no flags of its own counted as signing-capable; verifyEmbeddedPrimaryKeyBinding reads the binding signature's own flags, found no signing capability there, and so skipped the embedded Primary Key Binding (cross-certification) signature that RFC 9580 sec. 5.2.1.8 and sec. 10.1.3 require of a subkey that can issue signatures. A data signature made by such a subkey was therefore attributed to the certificate and reported valid by OpenPGPSignature.OpenPGPDocumentSignature.isValid() with the cross-certification requirement never applied, where GnuPG refuses the same certificate and message as not cross-certified. An attacker holding a third party's public signing subkey - which is public material - could bind it to their own primary key with a Subkey Binding signature they are able to make, carrying no Key Flags and no embedded Primary Key Binding signature, which they cannot make without the subkey's private key, and have that party's genuine signatures verify as valid under the attacker's own identity: misattribution of a real signature rather than a forgery of a new one, since the signature still has to be one the subkey actually made. Key Flags are a statement about the key the carrying signature refers to (RFC 9580 sec. 5.2.3.29), so a subkey no longer inherits them from the certificate-wide signatures of the primary key: a Subkey Binding signature that omits the subpacket now leaves the subkey with no capabilities rather than the primary's, which makes the flags the cross-certification check consults the same flags every other decision consults. Preferences and the other subpackets a direct-key signature carries are inherited as before, and the primary key itself - whose flags legitimately come from its direct-key or user ID self-signature - is unaffected. The low-level PGPSignature / PGPPublicKeyRing API performs no binding checks by design and is unchanged (CVE-2026-71887).
 - The high-level OpenPGP API (org.bouncycastle.openpgp.api) used a version 6 key that carried no valid Direct Key signature, falling back to the primary user ID binding as it correctly does for a version 4 key. RFC 9580 sec. 5.2.3.10 requires the opposite: "An implementation MUST ensure that a valid Direct Key signature is present before using a version 6 key. This prevents certain attacks where an adversary strips a self-signature specifying a Key Expiration Time or certain preferences." The certificate grammar says the same structurally, the Direct Key signature being mandatory in the version 6 structure of sec. 10.1.1 and optional in the version 4 one of sec. 10.1.3. Because a version 6 certificate carries its key expiration, features and algorithm preferences on the Direct Key signature - the convention the RFC recommends and the one OpenPGPKeyGenerator follows, its user ID certification carrying no expiration at all - removing that single signature packet from a published certificate silently dropped the expiration along with the preferences and features: OpenPGPCertificate.getSignatureChainFor fell back to the user ID binding, the primary key was still reported bound, and getEncryptionKeys() and getSigningKeys() went on returning the subkeys of a key whose owner had set it to expire. The primary key fingerprint is unchanged by the removal, so a relying party pinning the key by fingerprint still treats it as the same key, and no private key or hash collision is involved; the natural moment for the strip is the key refresh that RFC 9580 names as the reason to refetch a key at all - to learn about changes in expiration, features, preferences and revocation - which is exactly the update it defeats. This is a downgrade rather than a forgery, nothing being attributed to a key that did not authorise it, and the concerning direction is encryption, to a key meant to have been retired. OpenPGPCertificate.isBoundBy now requires a valid Direct Key self-signature on a version 6 primary key before any component of the certificate - the primary key, its subkeys or its identities - is treated as bound, so a version 6 certificate stripped of it offers no keys at all rather than an unexpiring set. Version 4 certificates are unaffected: there the key expiration legitimately lives on the user ID self-signature and the fallback is correct, so it stays. The revocation-only version 6 certificate of sec. 10.1.2, which legitimately carries no Direct Key signature, is unaffected as well - its key was already refused as revoked, and reading the revocation does not go through the binding check.
 - The high-level OpenPGP API (org.bouncycastle.openpgp.api) ignored the OpenPGPPolicy a caller had configured when it verified the signatures on an inline message. OpenPGPMessageInputStream took the policy it sanitizes each document signature against from the implementation's own default rather than from the processor the signature is being verified by, so a policy supplied through the documented OpenPGPApi(implementation, policy) / OpenPGPMessageProcessor(implementation, policy) constructor - which is how OpenPGPApi.decryptAndOrVerifyMessage() plumbs the configured policy through - had no bearing on whether a signature was accepted, although the same processor already applied it to the decompressed-size bound. A caller who hardened the policy beyond the default therefore had a signature that policy rejects handed back from getResult().getSignatures() with isTestedCorrect() true, while OpenPGPSignature.isValid(policy) on that same signature reported the rejection. Both verify paths, the one-pass and the prefixed-signature one, now read the configured policy; the detached-signature processor already did.


=====================================
gradle.properties
=====================================
@@ -1,5 +1,5 @@
 org.gradle.jvmargs=-Xmx2g
-version=1.86
+version=1.86.2
 maxVersion=1.87
 # A debug build labels every module's artifacts <module>-debug-jdk18on-<version>
 # (or -debug-jdk15to18- on a Java <= 8 daemon) and compiles with debug symbols;


=====================================
osgi_scan.xml
=====================================
@@ -15,15 +15,23 @@
     <prop name="import_max" value="${import_max}" find="\." replace="\\."/>
     <prop name="import_range" value="^\[${import_low}\,${import_max}\)"/>
 
+    <!-- bctls / bctls-klog can ship as a point release on their own, so their floor is major.minor (build.gradle bundle_import_floor, github #2493) -->
+    <prop name="import_floor" value="${version}" find="-SNAPSHOT" replace=""/>
+    <prop name="import_floor" value="${import_floor}" find="^([0-9]+\.[0-9]+).*$" replace="$1"/>
+    <prop name="import_floor" value="${import_floor}" find="\." replace="\\."/>
+    <prop name="tls_import_range" value="^\[${import_floor}\,${import_max}\)"/>
+
     <jar file="${ENV.BCHOME}/libs/jakarta.activation-api-2.0.0.jar"/>
     <jar file="${ENV.BCHOME}/libs/jakarta.mail-2.0.1.jar"/>
     <jar file="${ENV.BCHOME}/core/build/libs/bccore-jdk18on-${version}.jar"/>
     <jar file="${ENV.BCHOME}/jmail/build/libs/bcjmail-jdk18on-${version}.jar"/>
     <jar file="${ENV.BCHOME}/mls/build/libs/bcmls-jdk18on-${version}.jar"/>
     <jar file="${ENV.BCHOME}/pg/build/libs/bcpg-jdk18on-${version}.jar"/>
+    <jar file="${ENV.BCHOME}/pgsc/build/libs/bcpgsc-jdk18on-${version}.jar"/>
     <jar file="${ENV.BCHOME}/pkix/build/libs/bcpkix-jdk18on-${version}.jar"/>
     <jar file="${ENV.BCHOME}/prov/build/libs/bcprov-jdk18on-${version}.jar"/>
     <jar file="${ENV.BCHOME}/tls/build/libs/bctls-jdk18on-${version}.jar"/>
+    <jar file="${ENV.BCHOME}/tls-klog/build/libs/bctls-klog-jdk18on-${version}.jar"/>
     <jar file="${ENV.BCHOME}/util/build/libs/bcutil-jdk18on-${version}.jar"/>
 
     <bundle matches="^bcprov" version="${bundle_ver}">
@@ -40,7 +48,7 @@
     </bundle>
 
 
-    <bundle matches="^bc(jmail|mls|pg|pkix|tls|util)" version="${bundle_ver}">
+    <bundle matches="^bc(jmail|mls|pg|pkix|util)" version="${bundle_ver}">
         <ignore-package package="^mls_client"/>
         <ignore-package package="^org\.bouncycastle\.mls\.client"/>
 
@@ -59,4 +67,19 @@
 
     </bundle>
 
+    <bundle matches="^bctls" version="${bundle_ver}">
+        <header key="Bundle-Version" matches="${bundle_ver}"/>
+
+        <header key="Export-Package" matches=".*" on-undefined="fail">
+            <package matches="^org\.bouncycastle\.*" param="version" test="${bundle_ver}" on-match="pass"
+                     on-undefined="fail"/>
+        </header>
+
+        <header key="Import-Package" matches=".*" on-undefined="fail">
+            <package matches="^org\.bouncycastle\.*" param="version" test="${tls_import_range}" on-match="pass"
+                     on-undefined="fail"/>
+        </header>
+
+    </bundle>
+
 </osgiscanner>


=====================================
pg/src/main/java/org/bouncycastle/bcpg/ArmoredOutputStream.java
=====================================
@@ -35,7 +35,7 @@ public class ArmoredOutputStream
     private static final String footerStart = "-----END PGP ";
     private static final String footerTail = "-----";
 
-    public static final String DEFAULT_VERSION = "BCPG v1.86";
+    public static final String DEFAULT_VERSION = "BCPG v1.86.2";
     
     private static final byte[] encodingTable =
         {


=====================================
pg/src/main/jdk1.4/org/bouncycastle/bcpg/ArmoredOutputStream.java
=====================================
@@ -30,7 +30,7 @@ public class ArmoredOutputStream
     public static final String HASH_HDR = "Hash";
     public static final String CHARSET_HDR = "Charset";
 
-    public static final String DEFAULT_VERSION = "BCPG v1.86";
+    public static final String DEFAULT_VERSION = "BCPG v1.86.2";
     
     private static final byte[] encodingTable =
         {


=====================================
pg/src/test/java/org/bouncycastle/bcpg/test/BCPGOutputStreamTest.java
=====================================
@@ -103,7 +103,7 @@ public class BCPGOutputStreamTest
         // The signing subkey + sigs use old format
         // The encryption subkey + sigs use new format again
         String encodedCert = "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
-                "Version: BCPG v1.86\n" +
+                "Version: BCPG v1.86.2\n" +
                 "\n" +
                 "xcTGBGYvuZUBDACyFv3LQiubgHM4eJUFnsLEei8/l4bGKdVx8hRu6N5rfcjZt3RM\n" +
                 "UGUi+HQDnRbUvJ5B/7qDB7Ia7bpRf7BrYmho5vqNtjpxUPs3Mct1TjqCm2yLC9zH\n" +


=====================================
pg/src/test/java/org/bouncycastle/openpgp/test/ECDSAKeyPairTest.java
=====================================
@@ -34,7 +34,7 @@ public class ECDSAKeyPairTest
 
     private static final String PRIME256v1 = "" +
             "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
-            "Version: BCPG v1.86\n" +
+            "Version: BCPG v1.86.2\n" +
             "\n" +
             "lHcEZkH7VRMIKoZIzj0DAQcCAwQee5wkHVVrG7u7CcrHoZOaC+reK0wn2Y5XPJoU\n" +
             "O6geh1j2qXHj4+f+a6lav5hzKIJZHkgBYcS0aeABgWNjKsHbAAD/b4K93MJF7c2l\n" +
@@ -43,7 +43,7 @@ public class ECDSAKeyPairTest
             "-----END PGP PRIVATE KEY BLOCK-----";
     private static final String SECP384r1 = "" +
             "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
-            "Version: BCPG v1.86\n" +
+            "Version: BCPG v1.86.2\n" +
             "\n" +
             "lKQEZkH7VhMFK4EEACIDAwQgkKs+EzJaFLgMZH5Fp1S8DCXZC0OildnuQX6F7Jzt\n" +
             "BgkYyfDZ/F2KNistCqfsmxWnwAxtdRuuY2PfehWktQBQaID0OfXUnOC2E5961b3/\n" +
@@ -53,7 +53,7 @@ public class ECDSAKeyPairTest
             "-----END PGP PRIVATE KEY BLOCK-----";
     private static final String SECP521r1 = "" +
             "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
-            "Version: BCPG v1.86\n" +
+            "Version: BCPG v1.86.2\n" +
             "\n" +
             "lNkEZkH7VhMFK4EEACMEIwQBxt7DenSWrjuJGR0ouSwylW3ZC6mX4S+A5Cav7nz3\n" +
             "DninA8Rdt3Cd5sHQ1IWea+J05NUZDKbOL417lUSPkAVLot0B/Qis90wODcGnAXbc\n" +
@@ -64,7 +64,7 @@ public class ECDSAKeyPairTest
             "-----END PGP PRIVATE KEY BLOCK-----";
     private static final String BRAINPOOLP256r1 = "" +
             "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
-            "Version: BCPG v1.86\n" +
+            "Version: BCPG v1.86.2\n" +
             "\n" +
             "lHgEZkH7VhMJKyQDAwIIAQEHAgMEj7YxVg4/2p4uuhcpRqGl2i+vDhjx8YhUUNJX\n" +
             "RNFozBuIWJ6zkW3wRKdD/7Y7tzKNwyHmZ4FBFCcUoLliLeD4SAABAIkEm4iT1g0B\n" +
@@ -73,7 +73,7 @@ public class ECDSAKeyPairTest
             "-----END PGP PRIVATE KEY BLOCK-----";
     private static final String BRAINPOOLP384r1 = "" +
             "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
-            "Version: BCPG v1.86\n" +
+            "Version: BCPG v1.86.2\n" +
             "\n" +
             "lKgEZkH7VhMJKyQDAwIIAQELAwMEYm1fhilklF53Pj91awsoO0aZsppmPk9KNESD\n" +
             "H7/gSK86gl+yhf4/oKSxeOFDHCU2es6Iijq/TCIaAjeFH3ITEyQ4tPdnDqQSz2xq\n" +
@@ -83,7 +83,7 @@ public class ECDSAKeyPairTest
             "-----END PGP PRIVATE KEY BLOCK-----";
     private static final String BRAINPOOLP521r1 = "" +
             "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
-            "Version: BCPG v1.86\n" +
+            "Version: BCPG v1.86.2\n" +
             "\n" +
             "lNgEZkH7VhMJKyQDAwIIAQENBAMEbSjn4lQKNnC50PzeUtenikvF62KR7HfOLJTA\n" +
             "r/T17tFx3Qb6Ek/xQWIJ5nIHroOrduZjLigPOXqQ+GNhCgdNPGUqAWw1sfQ86nrx\n" +


=====================================
pg/src/test/java/org/bouncycastle/openpgp/test/PGPv6SignatureTest.java
=====================================
@@ -310,7 +310,7 @@ public class PGPv6SignatureTest
     {
         // v6 signature made using SHA512 with 16 instead of 32 bytes of salt.
         String armoredSig = "-----BEGIN PGP SIGNATURE-----\n" +
-            "Version: BCPG v1.86\n" +
+            "Version: BCPG v1.86.2\n" +
             "\n" +
             "wogGABsKAAAAKSKhBssYbE8GCaaX5NUt+mxyKwwfHifBilZwj2Ul7Ce62azJBYJm\n" +
             "gXv9AAAAAGHvEIB9K2RLSK++vMVKnivhTgBBHon1f/feri7mJOAYfGm8vOzgbc/8\n" +


=====================================
prov/src/main/java/org/bouncycastle/jce/provider/BouncyCastleProvider.java
=====================================
@@ -82,7 +82,7 @@ public final class BouncyCastleProvider extends Provider
 {
     private static final Logger LOG = Logger.getLogger(BouncyCastleProvider.class.getName());
 
-    private static String info = "BouncyCastle Security Provider v1.86";
+    private static String info = "BouncyCastle Security Provider v1.86.2";
 
     public static final String PROVIDER_NAME = "BC";
 
@@ -187,7 +187,7 @@ public final class BouncyCastleProvider extends Provider
      */
     public BouncyCastleProvider()
     {
-        super(PROVIDER_NAME, 1.86, info);
+        super(PROVIDER_NAME, 1.8602, info);
 
         AccessController.doPrivileged(new PrivilegedAction()
         {


=====================================
prov/src/main/java/org/bouncycastle/pqc/jcajce/provider/BouncyCastlePQCProvider.java
=====================================
@@ -22,7 +22,7 @@ public class BouncyCastlePQCProvider
     extends Provider
     implements ConfigurableProvider
 {
-    private static String info = "BouncyCastle Post-Quantum Security Provider v1.86";
+    private static String info = "BouncyCastle Post-Quantum Security Provider v1.86.2";
 
     public static String PROVIDER_NAME = "BCPQC";
 
@@ -52,7 +52,7 @@ public class BouncyCastlePQCProvider
      */
     public BouncyCastlePQCProvider()
     {
-        super(PROVIDER_NAME, 1.86, info);
+        super(PROVIDER_NAME, 1.8602, info);
 
         AccessController.doPrivileged(new PrivilegedAction()
         {


=====================================
prov/src/main/jdk1.1/org/bouncycastle/jce/provider/BouncyCastleProvider.java
=====================================
@@ -43,7 +43,7 @@ import org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter;
 public final class BouncyCastleProvider extends Provider
     implements ConfigurableProvider
 {
-    private static String info = "BouncyCastle Security Provider v1.86";
+    private static String info = "BouncyCastle Security Provider v1.86.2";
 
     public static final String PROVIDER_NAME = "BC";
 
@@ -118,7 +118,7 @@ public final class BouncyCastleProvider extends Provider
      */
     public BouncyCastleProvider()
     {
-        super(PROVIDER_NAME, 1.86, info);
+        super(PROVIDER_NAME, 1.8602, info);
 
         setup();
     }


=====================================
prov/src/main/jdk1.4/org/bouncycastle/jce/provider/BouncyCastleProvider.java
=====================================
@@ -50,7 +50,7 @@ import org.bouncycastle.pqc.jcajce.provider.sphincs.Sphincs256KeyFactorySpi;
 public final class BouncyCastleProvider extends Provider
     implements ConfigurableProvider
 {
-    private static String info = "BouncyCastle Security Provider v1.86";
+    private static String info = "BouncyCastle Security Provider v1.86.2";
 
     public static final String PROVIDER_NAME = "BC";
 
@@ -143,7 +143,7 @@ public final class BouncyCastleProvider extends Provider
      */
     public BouncyCastleProvider()
     {
-        super(PROVIDER_NAME, 1.86, info);
+        super(PROVIDER_NAME, 1.8602, info);
 
         AccessController.doPrivileged(new PrivilegedAction()
         {


=====================================
tls-klog/build.gradle
=====================================
@@ -213,7 +213,7 @@ jar {
     manifest.attributes('Bundle-SymbolicName': 'bctls-klog')
     manifest.attributes('Bundle-RequiredExecutionEnvironment': 'JavaSE-1.8')
     manifest.attributes('Export-Package': "org.bouncycastle.{jsse|tls}.*;version=${v}")
-    manifest.attributes('Import-Package': "java.*;resolution:=optional,javax.*;resolution:=optional,!org.bouncycastle.{jsse|tls}.*,org.bouncycastle.*;version=\"[${v},${maxVersion})\"")
+    manifest.attributes('Import-Package': "java.*;resolution:=optional,javax.*;resolution:=optional,!org.bouncycastle.{jsse|tls}.*,org.bouncycastle.*;version=\"[${rootProject.extensions.ext.bundle_import_floor},${maxVersion})\"")
     manifest.attributes('Bundle-Version': "${v}")
     manifest.attributes('Permissions': 'all-permissions')
     manifest.attributes('Codebase': '*')


=====================================
tls/build.gradle
=====================================
@@ -252,7 +252,7 @@ jar {
     manifest.attributes('Bundle-SymbolicName': 'bctls')
     manifest.attributes('Bundle-RequiredExecutionEnvironment': 'JavaSE-1.8')
     manifest.attributes('Export-Package': "org.bouncycastle.{jsse|tls}.*;version=${v}")
-    manifest.attributes('Import-Package': "java.*;resolution:=optional,javax.*;resolution:=optional,!org.bouncycastle.{jsse|tls}.*,org.bouncycastle.*;version=\"[${v},${maxVersion})\"")
+    manifest.attributes('Import-Package': "java.*;resolution:=optional,javax.*;resolution:=optional,!org.bouncycastle.{jsse|tls}.*,org.bouncycastle.*;version=\"[${rootProject.extensions.ext.bundle_import_floor},${maxVersion})\"")
     manifest.attributes('Bundle-Version': "${v}")
     manifest.attributes('Permissions': 'all-permissions')
     manifest.attributes('Codebase': '*')


=====================================
tls/src/main/jdk1.9/org/bouncycastle/jsse/provider/SSLEngineUtil.java
=====================================
@@ -10,12 +10,12 @@ import org.bouncycastle.jsse.BCSSLParameters;
 
 abstract class SSLEngineUtil
 {
-    static ProvSSLEngine create(ContextData contextData)
+    static SSLEngine create(ContextData contextData)
     {
         return new ProvSSLEngine_9(contextData);
     }
 
-    static ProvSSLEngine create(ContextData contextData, String host, int port)
+    static SSLEngine create(ContextData contextData, String host, int port)
     {
         return new ProvSSLEngine_9(contextData, host, port);
     }



View it on GitLab: https://salsa.debian.org/java-team/bouncycastle/-/compare/bf8429f6403866816bac8066884850f8749e4636...69d881cffde5cc2677a7b5253829ba4a98ffadeb

-- 
View it on GitLab: https://salsa.debian.org/java-team/bouncycastle/-/compare/bf8429f6403866816bac8066884850f8749e4636...69d881cffde5cc2677a7b5253829ba4a98ffadeb
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261026/c933cb47/attachment.htm>


More information about the pkg-java-commits mailing list