]> git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/p12Reencode/doReencode
Security-57031.1.35.tar.gz
[apple/security.git] / SecurityTests / clxutils / p12Reencode / doReencode
1 #! /bin/csh -f
2 #
3 # run p12Reencode on a bunch of known good p12 blobs.
4 #
5 # Args to this script are passed to p12Reencode uninterpreted.
6 set ARG_LIST =
7 #
8 while ( $#argv > 0 )
9 set thisArg = "$argv[1]"
10 set ARG_LIST = "$ARG_LIST $thisArg"
11 shift
12 end
13 echo Starting doReencode\; args: $ARG_LIST
14 #
15 set PASSWORD = password
16 set P12_BLOBS = (test1.p12 test12.p12 test15.p12 test18.p12 \
17 test10.p12 test13.p12 test16.p12 test19.p12 test11.p12 \
18 test14.p12 test17.p12 )
19 #
20 foreach blob ($P12_BLOBS);
21 $LOCAL_BUILD_DIR/p12Reencode $blob $PASSWORD $ARG_LIST || exit(1)
22 end