diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-11-23 12:11:49 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-03-20 17:30:50 +0100 |
commit | d6cec44b2400589a746649862326f72490288544 (patch) | |
tree | d06dd8fbbc5e5dff63d877ec835a15d90cc57e51 /src/conftest/hooks/pretend_auth.c | |
parent | b6016fcab3b34305b3abafc7e02af7cf7d9946f2 (diff) | |
download | strongswan-d6cec44b2400589a746649862326f72490288544.tar.bz2 strongswan-d6cec44b2400589a746649862326f72490288544.tar.xz |
Fixed conftests after extending CERT payload.
Diffstat (limited to 'src/conftest/hooks/pretend_auth.c')
-rw-r--r-- | src/conftest/hooks/pretend_auth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conftest/hooks/pretend_auth.c b/src/conftest/hooks/pretend_auth.c index f91b6bf9b..560864db5 100644 --- a/src/conftest/hooks/pretend_auth.c +++ b/src/conftest/hooks/pretend_auth.c @@ -154,7 +154,7 @@ static void build_certs(private_pretend_auth_t *this, cert = auth->get(auth, AUTH_RULE_SUBJECT_CERT); if (cert) { - payload = cert_payload_create_from_cert(cert); + payload = cert_payload_create_from_cert(cert, CERTIFICATE); if (payload) { DBG1(DBG_IKE, "pretending end entity cert \"%Y\"", @@ -167,7 +167,7 @@ static void build_certs(private_pretend_auth_t *this, { if (type == AUTH_RULE_IM_CERT) { - payload = cert_payload_create_from_cert(cert); + payload = cert_payload_create_from_cert(cert, CERTIFICATE); if (payload) { DBG1(DBG_IKE, "pretending issuer cert \"%Y\"", |