From a8c09d8cc0044fbff6c89c2e8966427ee7ed1ef0 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 24 Apr 2006 10:40:10 +0000 Subject: - identification_t supports now almost all id types - x509 certificates work with identification_t now - fixes here, fixes there --- Source/testing/rsa_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/testing/rsa_test.c') diff --git a/Source/testing/rsa_test.c b/Source/testing/rsa_test.c index a3ab3e4ea..696901531 100644 --- a/Source/testing/rsa_test.c +++ b/Source/testing/rsa_test.c @@ -26,7 +26,7 @@ #include #include -#include +#include char private_key_buffer[] = { 0x30,0x82,0x04,0xa2,0x02,0x00,0x02,0x82,0x01,0x00,0x6f,0x25,0x74,0x63,0x2a,0x2f, @@ -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 = certificate_create_from_file("alice-cert.der"); + certificate = x509_create_from_file("alice-cert.der"); 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"); -- cgit v1.2.3