shared: use nm_hash_update() instead of c_siphash_append()

In our own code, there are very few places where we should
call c_siphash_append() directly. This is not one of them.
This commit is contained in:
Thomas Haller 2018-06-22 14:18:43 +02:00
parent 41a784d7f1
commit ae21723d2a

View file

@ -168,7 +168,7 @@ nm_hash_update_mem (NMHashState *state, const void *ptr, gsize n)
* instead. */
nm_hash_update (state, &n, sizeof (n));
if (n > 0)
c_siphash_append (&state->_state, ptr, n);
nm_hash_update (state, ptr, n);
}
static inline void