aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/testing/rsa_test.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-05-30 13:00:18 +0000
committerMartin Willi <martin@strongswan.org>2006-05-30 13:00:18 +0000
commit0773bdcf3fe30c66a8ed527e217eae7443b20b85 (patch)
treecd128062d800453b64d5bec01c95faaa77942434 /src/charon/testing/rsa_test.c
parent6d5e617f7db567509dc33d1e16b6666a4110a0f8 (diff)
downloadstrongswan-0773bdcf3fe30c66a8ed527e217eae7443b20b85.tar.bz2
strongswan-0773bdcf3fe30c66a8ed527e217eae7443b20b85.tar.xz
- included charons module tests to build & dist
Diffstat (limited to 'src/charon/testing/rsa_test.c')
-rw-r--r--src/charon/testing/rsa_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/testing/rsa_test.c b/src/charon/testing/rsa_test.c
index 696901531..90baf3f5a 100644
--- a/src/charon/testing/rsa_test.c
+++ b/src/charon/testing/rsa_test.c
@@ -205,7 +205,7 @@ void test_rsa(protected_tester_t *tester)
/* key loading */
private_key = rsa_private_key_create_from_file("alice.der", NULL);
tester->assert_true(tester, private_key != NULL, "loading private key from file");
- certificate = x509_create_from_file("alice-cert.der");
+ certificate = x509_create_from_file("alice-cert.der", "testcert");
tester->assert_true(tester, public_key != NULL, "loading certificate from file");
public_key = certificate->get_public_key(certificate);
tester->assert_true(tester, public_key != NULL, "loading public key from certificate");