Add a return value to signer_t.get_signature()
This commit is contained in:
1 parent
5fb719e0de
commit
2e96de60a8
8 files changed
+63
-32
No files matched your search
@@ -822,7 +822,10 @@ METHOD(simaka_message_t, generate, bool,
|
||||
if (mac.len)
|
||||
{
|
||||
data = chunk_cata("cc", out, sigdata);
|
||||
signer->get_signature(signer, data, mac.ptr);
|
||||
if (!signer->get_signature(signer, data, mac.ptr))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
call_hook(this, FALSE, FALSE);
|
||||
|
||||
Reference in new issue
Block a user