Skip to content

Commit

Permalink
do changes previous done via commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Skywalker-11 committed Mar 18, 2017
1 parent 3f8c832 commit 4893845
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions become-spongy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,15 @@ find "mail/src/main/java/org/spongycastle/mail/smime/handlers" -type f | xargs -
find "mail/src/main/java/org/spongycastle/mail/smime/handlers" -type f | xargs -I '{}' ssed -i 's/(DataFlavor/(ActivationDataFlavor/g' '{}'
find "mail/src/main/java/org/spongycastle/mail/smime/handlers" -type f | xargs -I '{}' ssed -i 's/import java.awt.datatransfer.DataFlavor;//g' '{}'

sed -i 's~new SerialisationTest()~// new SerialisationTest() // Attempts to deserialise a org.bouncycastle class~g' prov/src/test/jdk1.4/org/spongycastle/jce/provider/test/RegressionTest.java
sed -i 's~new SerialisationTest(),~// new SerialisationTest(), // Attempts to deserialise a org.bouncycastle class~g' prov/src/test/java/org/spongycastle/jce/provider/test/RegressionTest.java

sed -i 's/"SC", /"BC", /g' prov/src/main/java/org/spongycastle/jce/provider/BouncyCastleProvider.java

cat <<EOF >> .gitignore
.idea
*.iml
*.asc
pg/*.asc
EOF

0 comments on commit 4893845

Please sign in to comment.