]>
git.saurik.com Git - apple/security.git/blob - sec/Security/Regressions/secitem/si-24-sectrust-diginotar.c
2 * Copyright (c) 2011 Apple Inc. All Rights Reserved.
5 #include <Security/SecPolicyPriv.h>
6 #include <Security/SecInternal.h>
8 #include <test/testpolicy.h>
10 #include "Security_regressions.h"
12 static void tests(void)
14 SecPolicyRef sslPolicy
= SecPolicyCreateSSL(false, 0);
17 runCertificateTestForDirectory(sslPolicy
, CFSTR("DigiNotar"), NULL
);
18 runCertificateTestForDirectory(sslPolicy
, CFSTR("DigiNotar-Entrust"), NULL
);
19 runCertificateTestForDirectory(sslPolicy
, CFSTR("DigiNotar-ok"), NULL
);
21 CFReleaseSafe(sslPolicy
);
24 int si_24_sectrust_diginotar(int argc
, char *const *argv
)