@@ -202,6 +202,7 @@ find $jdk11src -name "*.java" -exec scripts/useseccert.sh \{\} \;
202202 rm -rf org/bouncycastle/cert/test/ConverterTest*
203203 rm -rf org/bouncycastle/cert/test/CertPathLoopTest.java
204204 rm -rf org/bouncycastle/cert/test/Bc*
205+ rm -rf org/bouncycastle/cert/test/DeltaCertTest*
205206 rm -rf org/bouncycastle/cert/test/GOST3410_2012CMSTest.java
206207 rm -rf org/bouncycastle/cert/ocsp/test/PKIXRevocationTest.java
207208 rm -rf org/bouncycastle/tsp/GenTimeAccuracyUnit*
@@ -259,6 +260,11 @@ find $jdk11src -name "*.java" -exec scripts/useseccert.sh \{\} \;
259260 rm -rf org/bouncycastle/pkix/jcajce/X509*
260261 rm -rf org/bouncycastle/pkix/jcajce/RFC3280*
261262 rm -rf org/bouncycastle/pkix/jcajce/Revocation*
263+ rm org/bouncycastle/pkix/jcajce/CertPath* .java
264+ rm org/bouncycastle/pkix/jcajce/PKIXCert* .java
265+ rm org/bouncycastle/pkix/jcajce/PKIXPolicyN* .java
266+ rm org/bouncycastle/pkix/jcajce/PKIXCRLUtil.java
267+ rm -r org/bouncycastle/pkix/util
262268 rm -rf org/bouncycastle/pkix/test/Revocation*
263269 rm -rf org/bouncycastle/pkix/test/TestUtil*
264270 rm org/bouncycastle/pkix/test/CheckerTest.java
@@ -284,6 +290,9 @@ find $jdk11src -name "*.java" -exec scripts/useseccert.sh \{\} \;
284290 rm -rf org/bouncycastle/jce/provider/test/SM2SignatureTest.java
285291 rm -f org/bouncycastle/jcajce/provider/drbg/EntropyGatherer.java
286292 rm -f org/bouncycastle/jcajce/provider/drbg/EntropyDaemon.java
293+ rm -f org/bouncycastle/jcajce/provider/asymmetric/Dilithium.java
294+ rm -f org/bouncycastle/jcajce/provider/asymmetric/NTRU.java
295+ rm -f org/bouncycastle/jcajce/provider/asymmetric/Falcon.java
287296 rm -f org/bouncycastle/test/PrintTestResult.java
288297
289298 sh ../../scripts/jdk1.2ed.sh > /dev/null 2>&1
670679 rm -f src/org/bouncycastle/openpgp/test/BcPGPEd25519JcaKeyPairConversionTest.java
671680 rm src/org/bouncycastle/openpgp/test/ArmoredOutputStreamUTF8Test.java
672681 rm -f src/org/bouncycastle/openpgp/examples/DSAElGamalKeyRingGenerator.java
682+ rm -f src/org/bouncycastle/openpgp/examples/EllipticCurveKeyPairGenerator.java
673683
674684 find src -name AllTests.java -exec rm {} \;
675685
@@ -688,18 +698,26 @@ then
688698
689699 echo " compiling"
690700
701+ (
702+ cd src
703+ sh ../../../../../scripts/jdk1.2ed.sh > /dev/null 2>&1
704+ sh ../../../../../scripts/jdk1.1ed.sh > /dev/null 2>&1
705+ )
691706
692- for i in src/org/bouncycastle/pqc/jcajce/provider/* /* .java src/org/bouncycastle/pqc/crypto/* /* .java src/org/bouncycastle/bcpg/* .java src/org/bouncycastle/openpgp/* .java src/org/bouncycastle/openpgp/test/* .java
693- do
694- ed $i << %%
695- g/.Override/d
707+ ed src/org/bouncycastle/gpg/SExpression.java << %
708+ g/\.\.\. /s//[]/
696709w
697710q
698- %%
699- done
711+ %
700712
701- ed src/org/bouncycastle/gpg/SExpression.java << %
702- g/\.\.\. /s//[]/
713+ ed src/org/bouncycastle/openpgp/PGPSignature.java << %
714+ g/private.*final.*;/s/final//
715+ w
716+ q
717+ %
718+
719+ ed src/org/bouncycastle/openpgp/operator/jcajce/JceAEADUtil.java << %
720+ g/private.*final.*;/s/final//
703721w
704722q
705723%
0 commit comments