MYCrypto_main.m
author Jens Alfke <jens@mooseyard.com>
Tue Jun 09 23:58:03 2009 -0700 (2009-06-09)
changeset 24 6856e071d25a
permissions -rw-r--r--
* More work on iPhone compatibility.
* Restored the signature-verification code to MYCertInfo, which I'd removed earlier. I now need it to verify self-signed certs, since the Security framework won't do it for me.
* Merged MYCertificate-iPhone.m into MYCertificate.m since there's more shared code now.
snej@0
     1
/*
snej@0
     2
 *  MYCrypto_main.c
snej@0
     3
 *  MYCrypto
snej@0
     4
 *
snej@0
     5
 *  Created by Jens Alfke on 3/28/09.
snej@0
     6
 *  Copyright 2009 Jens Alfke. All rights reserved.
snej@0
     7
 *
snej@0
     8
 */
snej@0
     9
snej@0
    10
snej@0
    11
#import "Test.h"
snej@0
    12
snej@0
    13
snej@0
    14
int main(int argc, const char **argv) {
snej@0
    15
    if (argc<2) {
snej@0
    16
        static const char *testArgs[] = {"MYCrypto", "Test_All"};
snej@0
    17
        argc = 2;
snej@0
    18
        argv = testArgs;
snej@0
    19
    }
snej@0
    20
    
snej@0
    21
    RunTestCases(argc,argv);
snej@0
    22
    return 0;
snej@0
    23
}