Add a return value to signer_t.get_signature()

This commit is contained in:
Martin Willi
2012-07-16 14:53:33 +02:00
parent 5fb719e0de
commit 2e96de60a8
8 changed files with 63 additions and 32 deletions
+4 -1
View File
@@ -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);