diff options
author | Martin Willi <martin@revosec.ch> | 2011-12-06 13:37:57 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:31:13 +0100 |
commit | 9ad5b8fa951c294f3f79ffe701cac712a6cf18df (patch) | |
tree | b3272a7598299219a6ecaf81cd735f1debe2760b /src/conftest/hooks/ike_auth_fill.c | |
parent | 0bcdb8e571d67d363a54ff2c2e3ecaf52bb93ebc (diff) | |
download | strongswan-9ad5b8fa951c294f3f79ffe701cac712a6cf18df.tar.bz2 strongswan-9ad5b8fa951c294f3f79ffe701cac712a6cf18df.tar.xz |
Cleanup CERT payload constructors
Diffstat (limited to 'src/conftest/hooks/ike_auth_fill.c')
-rw-r--r-- | src/conftest/hooks/ike_auth_fill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conftest/hooks/ike_auth_fill.c b/src/conftest/hooks/ike_auth_fill.c index ac26d1bfe..7362c19f4 100644 --- a/src/conftest/hooks/ike_auth_fill.c +++ b/src/conftest/hooks/ike_auth_fill.c @@ -108,7 +108,7 @@ METHOD(listener_t, message, bool, diff = this->bytes - size - CERT_PAYLOAD_HEADER_LENGTH; data = chunk_alloc(diff); memset(data.ptr, 0x12, data.len); - pld = cert_payload_create_custom(201, data, CERTIFICATE); + pld = cert_payload_create_custom(CERTIFICATE, 201, data); message->add_payload(message, &pld->payload_interface); DBG1(DBG_CFG, "inserting %d dummy bytes certificate payload", diff); } |