diff options
author | Martin Willi <martin@strongswan.org> | 2005-11-29 10:25:07 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2005-11-29 10:25:07 +0000 |
commit | 0e96f7d8c3aefaa1717f4c30e66fdc459d3f2ecc (patch) | |
tree | 9482ca76a46e005757ac485007ad18c8fa38d794 /Source/charon/encoding/payloads | |
parent | 79b9c1d6c5ebf296d29e11f4a5f25c0bf60f896c (diff) | |
download | strongswan-0e96f7d8c3aefaa1717f4c30e66fdc459d3f2ecc.tar.bz2 strongswan-0e96f7d8c3aefaa1717f4c30e66fdc459d3f2ecc.tar.xz |
- globals packed in a daemon
Diffstat (limited to 'Source/charon/encoding/payloads')
-rw-r--r-- | Source/charon/encoding/payloads/encryption_payload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/charon/encoding/payloads/encryption_payload.c b/Source/charon/encoding/payloads/encryption_payload.c index 08722f83f..db4b441e5 100644 --- a/Source/charon/encoding/payloads/encryption_payload.c +++ b/Source/charon/encoding/payloads/encryption_payload.c @@ -360,7 +360,7 @@ static status_t encrypt(private_encryption_payload_t *this, crypter_t *crypter) /* encrypt concatenated chunk */ allocator_free(this->encrypted.ptr); - status = crypter->encrypt(crypter, iv, concatenated, &(this->encrypted)); + status = crypter->encrypt(crypter, concatenated, iv, &(this->encrypted)); allocator_free(padding.ptr); allocator_free(concatenated.ptr); allocator_free(iv.ptr); @@ -408,7 +408,7 @@ static status_t decrypt(private_encryption_payload_t *this, crypter_t *crypter) /* free previus data, if any */ allocator_free(this->decrypted.ptr); - status = crypter->decrypt(crypter, iv, concatenated, &(this->decrypted)); + status = crypter->decrypt(crypter, concatenated, iv, &(this->decrypted)); if (status != SUCCESS) { return FAILED; |