]> git.saurik.com Git - apple/security.git/blobdiff - SecurityTests/clxutils/sslScripts/trustAll
Security-57031.1.35.tar.gz
[apple/security.git] / SecurityTests / clxutils / sslScripts / trustAll
diff --git a/SecurityTests/clxutils/sslScripts/trustAll b/SecurityTests/clxutils/sslScripts/trustAll
new file mode 100755 (executable)
index 0000000..d28befc
--- /dev/null
@@ -0,0 +1,14 @@
+#! /bin/csh -f
+#
+# make private key in specified keychain trusted by a list of apps we'll
+# be running.
+#
+if ( $#argv < 1 ) then
+        echo Usage: trustAll keychain
+        exit(1)
+endif
+cd $LOCAL_BUILD_DIR
+set d=`pwd`
+trustApps $argv[1] $d/sslAlert $d/sslProt $d/sslSession $d/sslAuth $d/sslCipher
+
+