aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/testing/rsa_test.c
diff options
context:
space:
mode:
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");