21
21
Author: Stef Walter <stef@memberwebs.com>
24
#include "egg-asn1x.h"
26
#include "egg/egg-asn1x.h"
27
#include "egg/egg-asn1-defs.h"
28
#include "egg/egg-testing.h"
27
31
#include <stdlib.h>
28
32
#include <unistd.h>
30
#include "egg-asn1-defs.h"
31
#include "egg-testing.h"
35
36
build_personal_name (void)
99
100
build_personal_name ();
102
egg_tests_chdir_base (argv[0]);
104
test_some_asn1_stuff (pkix_asn1_tab, "files/test-certificate-1.der", "Certificate");
105
test_some_asn1_stuff (pkix_asn1_tab, "files/test-pkcs8-1.der", "pkcs-8-PrivateKeyInfo");
106
test_some_asn1_stuff (pk_asn1_tab, "files/test-rsakey-1.der", "RSAPrivateKey");
107
test_some_asn1_stuff (pkix_asn1_tab, "files/test-personalname-1.der", "PersonalName");
108
test_some_asn1_stuff (pkix_asn1_tab, "files/test-pkcs7-1.der", "pkcs-7-ContentInfo");
109
test_some_asn1_stuff (pkix_asn1_tab, "files/test-pkcs7-2.der", "pkcs-7-ContentInfo");
110
test_some_asn1_stuff (pkix_asn1_tab, "files/test-pkcs12-1.der", "pkcs-12-PFX");
103
test_some_asn1_stuff (pkix_asn1_tab, SRCDIR "/files/test-certificate-1.der", "Certificate");
104
test_some_asn1_stuff (pkix_asn1_tab, SRCDIR "/files/test-pkcs8-1.der", "pkcs-8-PrivateKeyInfo");
105
test_some_asn1_stuff (pk_asn1_tab, SRCDIR "/files/test-rsakey-1.der", "RSAPrivateKey");
106
test_some_asn1_stuff (pkix_asn1_tab, SRCDIR "/files/test-personalname-1.der", "PersonalName");
107
test_some_asn1_stuff (pkix_asn1_tab, SRCDIR "/files/test-pkcs7-1.der", "pkcs-7-ContentInfo");
108
test_some_asn1_stuff (pkix_asn1_tab, SRCDIR "/files/test-pkcs7-2.der", "pkcs-7-ContentInfo");
109
test_some_asn1_stuff (pkix_asn1_tab, SRCDIR "/files/test-pkcs12-1.der", "pkcs-12-PFX");