]> git.saurik.com Git - apple/security.git/blob - OSX/sec/Security/Regressions/secitem/si-24-sectrust-nist.c
Security-58286.230.21.tar.gz
[apple/security.git] / OSX / sec / Security / Regressions / secitem / si-24-sectrust-nist.c
1 /*
2 * Copyright (c) 2011-2012 Apple Inc. All Rights Reserved.
3 */
4
5 #include <Security/SecPolicyPriv.h>
6 #include <utilities/SecCFWrappers.h>
7
8 #include <test/testpolicy.h>
9
10 #include "shared_regressions.h"
11
12 static void tests(void)
13 {
14 SecPolicyRef basicPolicy = SecPolicyCreateBasicX509();
15
16 /* Run the tests. */
17 runCertificateTestForDirectory(basicPolicy, CFSTR("nist-certs"), NULL);
18
19 CFReleaseSafe(basicPolicy);
20 }
21
22 int si_24_sectrust_nist(int argc, char *const *argv)
23 {
24 plan_tests(179);
25
26 tests();
27
28 return 0;
29 }