diff options
author | Martin Willi <martin@revosec.ch> | 2012-06-11 14:33:34 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-06-12 14:24:49 +0200 |
commit | a37f2d2006e74bce8614ebf13b45c7a7e9851f83 (patch) | |
tree | 3372f601ece522e8a171d62e436274ac213038b7 /src/libcharon/plugins/unit_tester/tests/test_cert.c | |
parent | 439d0742e907a5a56005acad17b0bfe1082bdf24 (diff) | |
download | strongswan-a37f2d2006e74bce8614ebf13b45c7a7e9851f83.tar.bz2 strongswan-a37f2d2006e74bce8614ebf13b45c7a7e9851f83.tar.xz |
certificate_t->issued_by takes an argument to receive signature scheme
Diffstat (limited to 'src/libcharon/plugins/unit_tester/tests/test_cert.c')
-rw-r--r-- | src/libcharon/plugins/unit_tester/tests/test_cert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/unit_tester/tests/test_cert.c b/src/libcharon/plugins/unit_tester/tests/test_cert.c index 342194a4c..f4410a688 100644 --- a/src/libcharon/plugins/unit_tester/tests/test_cert.c +++ b/src/libcharon/plugins/unit_tester/tests/test_cert.c @@ -60,7 +60,7 @@ bool test_cert_x509() { return FALSE; } - if (!parsed->issued_by(parsed, ca_cert)) + if (!parsed->issued_by(parsed, ca_cert, NULL)) { return FALSE; } @@ -90,7 +90,7 @@ bool test_cert_x509() { return FALSE; } - if (!parsed->issued_by(parsed, ca_cert)) + if (!parsed->issued_by(parsed, ca_cert, NULL)) { return FALSE; } |