Add a return value to crypter_t.encrypt
This commit is contained in:
@@ -167,8 +167,7 @@ METHOD(aead_t, encrypt, bool,
|
||||
private_aead_t *this, chunk_t plain, chunk_t assoc, chunk_t iv,
|
||||
chunk_t *encrypted)
|
||||
{
|
||||
this->crypter->encrypt(this->crypter, plain, iv, encrypted);
|
||||
return TRUE;
|
||||
return this->crypter->encrypt(this->crypter, plain, iv, encrypted);
|
||||
}
|
||||
|
||||
METHOD(aead_t, decrypt, bool,
|
||||
|
||||
Reference in New Issue
Block a user