Add a return value to crypter_t.decrypt()
This commit is contained in:
1 parent
e35abbe588
commit
3b96189a2a
17 files changed
+72
-35
No files matched your search
@@ -499,8 +499,10 @@ static bool decrypt(private_simaka_message_t *this)
|
||||
eap_type_names, this->hdr->type);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
crypter->decrypt(crypter, this->encr, this->iv, &plain);
|
||||
if (!crypter->decrypt(crypter, this->encr, this->iv, &plain))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
this->encrypted = TRUE;
|
||||
success = parse_attributes(this, plain);
|
||||
|
||||
Reference in new issue
Block a user