aboutsummaryrefslogtreecommitdiffstats
path: root/doc/man/libkeccak_keccaksum_fd.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-07 02:27:32 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-07 02:27:32 +0200
commit9229ac8b88e959cf1ef18fbab226e70d759e636e (patch)
tree99a3cef09138f97c523f1a204203e4e34d8d6cd7 /doc/man/libkeccak_keccaksum_fd.3
parenttypo (diff)
downloadlibkeccak-9229ac8b88e959cf1ef18fbab226e70d759e636e.tar.gz
libkeccak-9229ac8b88e959cf1ef18fbab226e70d759e636e.tar.bz2
libkeccak-9229ac8b88e959cf1ef18fbab226e70d759e636e.tar.xz
file hashers do not automatically destroy the state
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/man/libkeccak_keccaksum_fd.3')
-rw-r--r--doc/man/libkeccak_keccaksum_fd.31
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/man/libkeccak_keccaksum_fd.3 b/doc/man/libkeccak_keccaksum_fd.3
index 1e70370..71d4f76 100644
--- a/doc/man/libkeccak_keccaksum_fd.3
+++ b/doc/man/libkeccak_keccaksum_fd.3
@@ -85,6 +85,7 @@ if (libkeccak_keccaksum_fd(STDIN_FILENO, &state, &spec, 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),