mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 06:20:10 +01:00
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:
parent
41a784d7f1
commit
ae21723d2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue