Upgraded to BouncyCastle 1.50. Added bouncy -> spongy conversion script.

This commit is contained in:
akwizgran
2014-01-16 15:21:42 +00:00
parent 6af3c54c28
commit a168a7ba89
10 changed files with 23 additions and 13 deletions

17
spongy.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
dirs=(ant core docs jce mail pg pkix prov)
for file in `find ${dirs[@]} -name bouncycastle`
do
path=`dirname $file`
echo "Moving $file to $path/spongycastle"
mv $file $path/spongycastle
done
for file in `grep -Rl bouncycastle ${dirs[@]}`
do
echo "Replacing string bouncycastle in $file"
sed -i 's/bouncycastle/spongycastle/g' $file
done