From 9229ac8b88e959cf1ef18fbab226e70d759e636e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 7 Oct 2015 02:27:32 +0200 Subject: file hashers do not automatically destroy the state MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/man/libkeccak_sha3sum_fd.3 | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/man/libkeccak_sha3sum_fd.3') diff --git a/doc/man/libkeccak_sha3sum_fd.3 b/doc/man/libkeccak_sha3sum_fd.3 index daacd2e..6f5b573 100644 --- a/doc/man/libkeccak_sha3sum_fd.3 +++ b/doc/man/libkeccak_sha3sum_fd.3 @@ -76,6 +76,7 @@ if (libkeccak_sha3sum_fd(STDIN_FILENO, &state, 256, binhash) < 0) goto fail; libkeccak_behex_lower(hexhash, binhash, sizeof(binhash)); printf("%s\\n", hexhash); +libkeccak_state_destroy(&state); .fi .SH SEE ALSO .BR libkeccak_behex_lower (3), -- cgit v1.2.3-70-g09d2