diff options
author | Sander Vrijders <[email protected]> | 2017-08-22 17:38:44 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-08-22 17:38:44 +0200 |
commit | 743c2f69744fe3f0dac11e467a92ff5e4d80280b (patch) | |
tree | 5cd831f6a777d9be5d14e8aff1a66897d8163e19 /include | |
parent | fb771c0cf876ad58c50551b90dacc0b5689dae05 (diff) | |
download | ouroboros-743c2f69744fe3f0dac11e467a92ff5e4d80280b.tar.gz ouroboros-743c2f69744fe3f0dac11e467a92ff5e4d80280b.zip |
lib: Fix CRC check and add frct_clear
This adds the CRC check by default on outgoing SDUs. It fixes some
errors in the serialization and deserialization of the SDU. frct_clear
was added to avoid bad initialization of the array of FRCT instances.
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/hash.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ouroboros/hash.h b/include/ouroboros/hash.h index 49160226..b2896293 100644 --- a/include/ouroboros/hash.h +++ b/include/ouroboros/hash.h @@ -23,6 +23,8 @@ #ifndef OUROBOROS_LIB_HASH_H #define OUROBOROS_LIB_HASH_H +#include "config.h" + #include <ouroboros/endian.h> #ifdef HAVE_LIBGCRYPT |