]>
Commit | Line | Data |
---|---|---|
427c49bc | 1 | /* |
d8f41ccd | 2 | * Copyright (c) 2011-2012 Apple Inc. All Rights Reserved. |
427c49bc A |
3 | */ |
4 | ||
5 | #include <Security/SecPolicyPriv.h> | |
6 | #include <Security/SecInternal.h> | |
7 | ||
8 | #include <test/testpolicy.h> | |
9 | ||
10 | #include "Security_regressions.h" | |
11 | ||
12 | static void tests(void) | |
13 | { | |
14 | SecPolicyRef policy = SecPolicyCreateAppleIDAuthorityPolicy(); | |
15 | ||
16 | /* Run the tests. */ | |
17 | runCertificateTestForDirectory(policy, CFSTR("AppleID-certs"), NULL); | |
18 | ||
19 | CFReleaseSafe(policy); | |
20 | } | |
21 | ||
22 | int si_24_sectrust_appleid(int argc, char *const *argv) | |
23 | { | |
24 | plan_tests(2); | |
25 | ||
26 | tests(); | |
27 | ||
28 | return 0; | |
29 | } |