iPhone/MYCrypto_iPhone_main.m
author snej@snej.local
Tue Apr 14 18:34:52 2009 -0700 (2009-04-14)
changeset 11 3568d5fd4b6a
parent 0 0a6527af039b
permissions -rw-r--r--
* The build process runs Doxygen only if it's installed (i.e. on the shell search path).
* Added instructions to the README on setting up a named Source Tree for MYUtilities.
* Changed the RSA key size in MYCryptoTest to 2048 and made it a named constant.
     1 //
     2 //  main.m
     3 //  MYCrypto-iPhone
     4 //
     5 //  Created by Jens Alfke on 3/30/09.
     6 //  Copyright Jens Alfke 2009. All rights reserved.
     7 //
     8 
     9 #import <UIKit/UIKit.h>
    10 
    11 int main(int argc, char *argv[]) {
    12     if (argc<2) {
    13         static char *testArgs[] = {"MYCrypto", "Test_All"};
    14         argc = 2;
    15         argv = testArgs;
    16     }
    17     RunTestCases(argc,(const char**)argv);
    18     
    19     NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    20     int retVal = UIApplicationMain(argc, argv, nil, nil);
    21     [pool release];
    22     return retVal;
    23 }