diff options
author | Martin Willi <martin@strongswan.org> | 2006-04-04 12:45:29 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-04-04 12:45:29 +0000 |
commit | f2ee13a7e844c5b107137ca21136684c610f2864 (patch) | |
tree | f90e948f8ad1f356c1d326ba8c302aace5cb6e98 /Source/charon/testcases/certificate_test.c | |
parent | efadbf79e9c864578bfd1277d824e69b2989aac5 (diff) | |
download | strongswan-f2ee13a7e844c5b107137ca21136684c610f2864.tar.bz2 strongswan-f2ee13a7e844c5b107137ca21136684c610f2864.tar.xz |
- improved strokeing
- down connection
- status
- some other tweaks
Diffstat (limited to 'Source/charon/testcases/certificate_test.c')
-rw-r--r-- | Source/charon/testcases/certificate_test.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/charon/testcases/certificate_test.c b/Source/charon/testcases/certificate_test.c index 55b9d0486..c950e0094 100644 --- a/Source/charon/testcases/certificate_test.c +++ b/Source/charon/testcases/certificate_test.c @@ -85,14 +85,11 @@ static char certificate_buffer[] = { */ void test_certificate(protected_tester_t *tester) { - //chunk_t certificate = {certificate_buffer, sizeof(certificate_buffer)}; + chunk_t certificate = {certificate_buffer, sizeof(certificate_buffer)}; - //certificate_t *cert = certificate_create_from_chunk(certificate); + certificate_t *cert = certificate_create_from_chunk(certificate); - certificate_t *cert = certificate_create_from_file("myCert.der"); + //certificate_t *cert = certificate_create_from_file("myCert.der"); cert->destroy(cert); } - - - |