diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-17 13:06:02 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-17 13:06:02 +0100 |
commit | d2467c38d42f590deecd807741324fc0e5522a8a (patch) | |
tree | c9d56cee1e0119ba9bd5f516a68bd7e1269712fe /runtime/librsgt.c | |
parent | 44b4922825df794f678cd4ad18d940ff114b943f (diff) | |
download | rsyslog-d2467c38d42f590deecd807741324fc0e5522a8a.tar.gz rsyslog-d2467c38d42f590deecd807741324fc0e5522a8a.tar.bz2 rsyslog-d2467c38d42f590deecd807741324fc0e5522a8a.zip |
logsig: milestone/verfier: record hashes are verified
Diffstat (limited to 'runtime/librsgt.c')
-rw-r--r-- | runtime/librsgt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/librsgt.c b/runtime/librsgt.c index 83a2fe05..e49011f4 100644 --- a/runtime/librsgt.c +++ b/runtime/librsgt.c @@ -514,7 +514,7 @@ bufAddLevel(uchar *buf, size_t *len, uint8_t level) } -static void +void hash_m(gtfile gf, GTDataHash **m) { #warning Overall: check GT API return states! @@ -527,7 +527,7 @@ hash_m(gtfile gf, GTDataHash **m) GTDataHash_create(gf->hashAlg, concatBuf, len, m); } -static inline void +void hash_r(gtfile gf, GTDataHash **r, const uchar *rec, const size_t len) { // r = hash(canonicalize(rec)); @@ -535,7 +535,7 @@ hash_r(gtfile gf, GTDataHash **r, const uchar *rec, const size_t len) } -static void +void hash_node(gtfile gf, GTDataHash **node, GTDataHash *m, GTDataHash *r, uint8_t level) { |