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.
6set ARG_LIST =
7#
8while ( $#argv > 0 )
9	set thisArg = "$argv[1]"
10	set ARG_LIST = "$ARG_LIST $thisArg"
11	shift
12end
13echo Starting doReencode\; args: $ARG_LIST
14#
15set PASSWORD = password
16set 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#
20foreach blob ($P12_BLOBS);
21	$LOCAL_BUILD_DIR/p12Reencode $blob $PASSWORD $ARG_LIST || exit(1)
22end
23