Add a return value to prf_t.get_bytes()

This commit is contained in:
Martin Willi
2012-07-16 14:53:33 +02:00
parent e7d98b8c99
commit bc47488323
13 changed files with 133 additions and 48 deletions
+2 -1
View File
@@ -35,10 +35,11 @@ struct private_prf_t {
mac_t *mac;
};
METHOD(prf_t, get_bytes, void,
METHOD(prf_t, get_bytes, bool,
private_prf_t *this, chunk_t seed, u_int8_t *buffer)
{
this->mac->get_mac(this->mac, seed, buffer);
return TRUE;
}
METHOD(prf_t, allocate_bytes, void,