Add a return value to crypter_t.decrypt()

This commit is contained in:
Martin Willi committed 2012-07-16 14:53:38 +02:00
1 parent e35abbe588
commit 3b96189a2a
17 files changed
+72 -35

No files matched your search

+1 -2
View File
@@ -174,8 +174,7 @@ METHOD(aead_t, decrypt, bool,
private_aead_t *this, chunk_t encrypted, chunk_t assoc, chunk_t iv,
chunk_t *plain)
{
this->crypter->decrypt(this->crypter, encrypted, iv, plain);
return TRUE;
return this->crypter->decrypt(this->crypter, encrypted, iv, plain);
}
METHOD(aead_t, get_block_size, size_t,