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