X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b04fe171f0375ecd5d8a24747ca1dff85720a0ca..6b200bc335dc93c5516ccb52f14bd896d8c7fad7:/SecurityTests/clxutils/parseCert/parseCert.cpp?ds=inline diff --git a/SecurityTests/clxutils/parseCert/parseCert.cpp b/SecurityTests/clxutils/parseCert/parseCert.cpp deleted file mode 100644 index d7b56328..00000000 --- a/SecurityTests/clxutils/parseCert/parseCert.cpp +++ /dev/null @@ -1,60 +0,0 @@ -/* - * parseCert.cpp - CL-based cert parser. - * - * See oidParser.h for info on config file. - */ -#include -#include -#include -#include -#include - -static void usage(char **argv) -{ - printf("Usage: %s certFile [v(erbose) [l(oop)]\n", argv[0]); - exit(1); -} - -int main(int argc, char **argv) -{ - unsigned char *rawCert = NULL; - unsigned rawCertSize; - int rtn; - CSSM_BOOL verbose = CSSM_FALSE; - int arg; - int loop = 0; - - if(argc < 2) { - usage(argv); - } - for(arg=2; arg