blob: 0f05c035df484b2ede949ef4dc20fda558d42263 (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "common.h"
void
destroyhashers(struct algorithm *algorithms, size_t nalgorithms)
{
size_t i;
for (i = 0; i < nalgorithms; i++)
if (algorithms[i].hasher.destroy)
algorithms[i].hasher.destroy(&algorithms[i].hasher);
}
|