Add a return value to hasher_t.get_hash()
This commit is contained in:
@@ -105,10 +105,11 @@ METHOD(hasher_t, reset, void,
|
||||
this->ops->reset(this->ops);
|
||||
}
|
||||
|
||||
METHOD(hasher_t, get_hash, void,
|
||||
METHOD(hasher_t, get_hash, bool,
|
||||
private_af_alg_hasher_t *this, chunk_t chunk, u_int8_t *hash)
|
||||
{
|
||||
this->ops->hash(this->ops, chunk, hash, this->size);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
METHOD(hasher_t, allocate_hash, void,
|
||||
|
||||
Reference in New Issue
Block a user