aboutsummaryrefslogblamecommitdiffstats
path: root/destroyhashers.c
blob: 0f05c035df484b2ede949ef4dc20fda558d42263 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                            
/* 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);
}