4 # Remove crypto from the DB source tree.
9 trap 'rm -f $t ; exit 0' 0
10 trap 'rm -f $t ; exit 1' 1 2 3 13 15
12 if ! test -d $d/crypto; then
13 echo "s_crypto: no crypto sources found in the source tree."
20 # Update the release splash page.
24 echo 's/DOES/DOES NOT/' &&
31 (echo '/#define.HAVE_CRYPTO/' &&
33 echo '/* #undef HAVE_CRYPTO */'
41 r=`egrep crypto/crypto.c $f | awk 'BEGIN { FS="\t*" } { print $2 }'`
42 (echo 'g/^crypto\//d' &&
43 echo '/crypto_stub\.c/' &&
48 # Change out crypto/crypto.c for common/crypto_stub.c, remove all other
49 # references to crypto files.
50 f=win_projects/projects.template.xml
52 (echo '/crypto\/crypto\.c/' &&
54 echo ' <file name="common/crypto_stub.c"/>' &&
56 echo 'g/"crypto\//d' &&
68 (echo '/#define.HAVE_CRYPTO/' &&
70 echo '/* #undef HAVE_CRYPTO */'