Add a return value to crypter_t.decrypt()
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user